User Songs!

A brief diversion into how exactly the user songs are represented.


In [1]:
cd -q '..'

In [2]:
import mido

In [3]:
from commons.messages import controlstate

I've recorded one track (track 3) on one user song (user song 2).


In [6]:
!python extractor.py documents/data/user_song_tests/1track.syx -S 2


               Recorded   Duration       Size
 User Song 2       True         41       2112
     Track A      False          0         99
     Track 1      False          0          0
     Track 2      False          0          0
     Track 3       True         41       1999
     Track 4      False          0          0
     Track 5      False          0          0

What's in the MIDI?


In [8]:
!python extractor.py documents/data/user_song_tests/1track.syx -s 2 -n documents/data/user_song_tests/1track_{}.mid

In [9]:
mf = mido.MidiFile('documents/data/user_song_tests/1track_2.mid')

In [10]:
mf


Out[10]:
<midi file 'documents/data/user_song_tests/1track_2.mid' type 1, 2 tracks, 499 messages>

In [13]:
mf.tracks


Out[13]:
[<midi track '' 10 messages>, <midi track '' 489 messages>]

We have the time track, which we put first, and then all the other tracks.


In [17]:
mf.print_tracks()


=== Track 0
<meta message time_signature numerator=3 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
<meta message set_tempo tempo=400000 time=0>
<message sysex data=(126,127,9,1) time=0>
<message sysex data=(67,21,76,2,1,0,1,0) time=0>
<message sysex data=(67,21,76,2,1,32,66,17) time=0>
<meta message text text=' YAMAHA ' time=0>
<meta message sequencer_specific data=(67, 118, 26, 4, 0, 0) time=0>
<meta message sequencer_specific data=(67, 118, 26, 2, 100) time=0>
<meta message sequencer_specific data=(67, 118, 26, 1, 0) time=0>
<meta message end_of_track time=0>
=== Track 1
<message sysex data=(67,18,76,2,1,0,1,0) time=0>
<message sysex data=(67,18,76,2,1,32,66,17) time=0>
<meta message text text=' YAMAHA ' time=0>
<message control_change channel=2 control=0 value=0 time=0>
<message control_change channel=2 control=32 value=112 time=0>
<message program_change channel=2 program=0 time=0>
<message control_change channel=12 control=0 value=0 time=0>
<message control_change channel=12 control=32 value=112 time=0>
<message program_change channel=12 program=85 time=0>
<message control_change channel=2 control=101 value=0 time=0>
<message control_change channel=2 control=100 value=0 time=0>
<message control_change channel=2 control=6 value=2 time=0>
<message control_change channel=2 control=100 value=127 time=0>
<message control_change channel=2 control=101 value=127 time=0>
<message control_change channel=12 control=101 value=0 time=0>
<message control_change channel=12 control=100 value=0 time=0>
<message control_change channel=12 control=6 value=2 time=0>
<message control_change channel=12 control=100 value=127 time=0>
<message control_change channel=12 control=101 value=127 time=0>
<message control_change channel=2 control=91 value=20 time=0>
<message control_change channel=2 control=93 value=41 time=0>
<message control_change channel=2 control=94 value=0 time=0>
<message control_change channel=2 control=7 value=100 time=0>
<message control_change channel=2 control=10 value=54 time=0>
<message control_change channel=2 control=11 value=127 time=0>
<message control_change channel=2 control=72 value=64 time=0>
<message control_change channel=2 control=64 value=0 time=0>
<message control_change channel=12 control=91 value=60 time=0>
<message control_change channel=12 control=93 value=24 time=0>
<message control_change channel=12 control=94 value=0 time=0>
<message control_change channel=12 control=7 value=100 time=0>
<message control_change channel=12 control=10 value=74 time=0>
<message control_change channel=12 control=11 value=127 time=0>
<message control_change channel=12 control=72 value=64 time=0>
<message control_change channel=12 control=64 value=0 time=0>
<message polytouch channel=2 note=0 value=63 time=0>
<message pitchwheel channel=2 pitch=0 time=0>
<message pitchwheel channel=12 pitch=0 time=0>
<message note_on channel=2 note=36 velocity=77 time=0>
<message note_on channel=12 note=36 velocity=77 time=0>
<message note_on channel=2 note=36 velocity=0 time=281>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=43 velocity=82 time=4>
<message note_on channel=12 note=43 velocity=82 time=0>
<message note_on channel=2 note=38 velocity=65 time=278>
<message note_on channel=12 note=38 velocity=65 time=0>
<message note_on channel=2 note=43 velocity=0 time=3>
<message note_on channel=12 note=43 velocity=0 time=0>
<message note_on channel=2 note=38 velocity=0 time=274>
<message note_on channel=12 note=38 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=68 time=4>
<message note_on channel=12 note=41 velocity=68 time=0>
<message note_on channel=2 note=41 velocity=0 time=299>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=31 velocity=70 time=2>
<message note_on channel=12 note=31 velocity=70 time=0>
<message note_on channel=2 note=71 velocity=65 time=91>
<message note_on channel=12 note=71 velocity=65 time=0>
<message note_on channel=2 note=71 velocity=0 time=91>
<message note_on channel=12 note=71 velocity=0 time=0>
<message note_on channel=2 note=74 velocity=72 time=2>
<message note_on channel=12 note=74 velocity=72 time=0>
<message note_on channel=2 note=41 velocity=56 time=89>
<message note_on channel=12 note=41 velocity=56 time=0>
<message note_on channel=2 note=74 velocity=0 time=0>
<message note_on channel=12 note=74 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=71 time=2>
<message note_on channel=12 note=81 velocity=71 time=0>
<message note_on channel=2 note=31 velocity=0 time=16>
<message note_on channel=12 note=31 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=63 time=70>
<message note_on channel=12 note=79 velocity=63 time=0>
<message note_on channel=2 note=81 velocity=0 time=10>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=77 velocity=75 time=78>
<message note_on channel=12 note=77 velocity=75 time=0>
<message note_on channel=2 note=79 velocity=0 time=13>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=55 time=78>
<message note_on channel=12 note=36 velocity=55 time=0>
<message note_on channel=2 note=76 velocity=79 time=5>
<message note_on channel=12 note=76 velocity=79 time=0>
<message note_on channel=2 note=41 velocity=0 time=6>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=77 velocity=0 time=3>
<message note_on channel=12 note=77 velocity=0 time=0>
<message note_on channel=2 note=76 velocity=0 time=219>
<message note_on channel=12 note=76 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=0 time=86>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=65 time=285>
<message note_on channel=12 note=41 velocity=65 time=0>
<message note_on channel=2 note=77 velocity=65 time=93>
<message note_on channel=12 note=77 velocity=65 time=0>
<message note_on channel=2 note=77 velocity=0 time=89>
<message note_on channel=12 note=77 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=70 time=5>
<message note_on channel=12 note=81 velocity=70 time=0>
<message note_on channel=2 note=81 velocity=0 time=68>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=93 velocity=61 time=30>
<message note_on channel=12 note=93 velocity=61 time=0>
<message note_on channel=2 note=93 velocity=0 time=90>
<message note_on channel=12 note=93 velocity=0 time=0>
<message note_on channel=2 note=91 velocity=66 time=1>
<message note_on channel=12 note=91 velocity=66 time=0>
<message note_on channel=2 note=41 velocity=0 time=85>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=89 velocity=63 time=5>
<message note_on channel=12 note=89 velocity=63 time=0>
<message note_on channel=2 note=91 velocity=0 time=7>
<message note_on channel=12 note=91 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=52 time=70>
<message note_on channel=12 note=36 velocity=52 time=0>
<message note_on channel=2 note=88 velocity=76 time=8>
<message note_on channel=12 note=88 velocity=76 time=0>
<message note_on channel=2 note=89 velocity=0 time=9>
<message note_on channel=12 note=89 velocity=0 time=0>
<message note_on channel=2 note=86 velocity=53 time=90>
<message note_on channel=12 note=86 velocity=53 time=0>
<message note_on channel=2 note=88 velocity=0 time=6>
<message note_on channel=12 note=88 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=60 time=86>
<message note_on channel=12 note=84 velocity=60 time=0>
<message note_on channel=2 note=86 velocity=0 time=4>
<message note_on channel=12 note=86 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=74 time=101>
<message note_on channel=12 note=83 velocity=74 time=0>
<message note_on channel=2 note=84 velocity=0 time=8>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=59 time=95>
<message note_on channel=12 note=81 velocity=59 time=0>
<message note_on channel=2 note=83 velocity=0 time=4>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=45 time=96>
<message note_on channel=12 note=79 velocity=45 time=0>
<message note_on channel=2 note=81 velocity=0 time=11>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=0 time=5>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=0 time=43>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=31 velocity=79 time=41>
<message note_on channel=12 note=31 velocity=79 time=0>
<message note_on channel=2 note=79 velocity=72 time=1>
<message note_on channel=12 note=79 velocity=72 time=0>
<message note_on channel=2 note=79 velocity=0 time=89>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=63 time=1>
<message note_on channel=12 note=81 velocity=63 time=0>
<message note_on channel=2 note=79 velocity=63 time=90>
<message note_on channel=12 note=79 velocity=63 time=0>
<message note_on channel=2 note=81 velocity=0 time=11>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=53 time=78>
<message note_on channel=12 note=41 velocity=53 time=0>
<message note_on channel=2 note=77 velocity=56 time=6>
<message note_on channel=12 note=77 velocity=56 time=0>
<message note_on channel=2 note=79 velocity=0 time=4>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=77 velocity=0 time=74>
<message note_on channel=12 note=77 velocity=0 time=0>
<message note_on channel=2 note=69 velocity=72 time=26>
<message note_on channel=12 note=69 velocity=72 time=0>
<message note_on channel=2 note=31 velocity=0 time=33>
<message note_on channel=12 note=31 velocity=0 time=0>
<message note_on channel=2 note=71 velocity=72 time=52>
<message note_on channel=12 note=71 velocity=72 time=0>
<message note_on channel=2 note=69 velocity=0 time=3>
<message note_on channel=12 note=69 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=0 time=45>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=52 time=38>
<message note_on channel=12 note=36 velocity=52 time=0>
<message note_on channel=2 note=72 velocity=81 time=3>
<message note_on channel=12 note=72 velocity=81 time=0>
<message note_on channel=2 note=71 velocity=0 time=7>
<message note_on channel=12 note=71 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=0 time=304>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=72 velocity=0 time=4>
<message note_on channel=12 note=72 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=47 time=288>
<message note_on channel=12 note=36 velocity=47 time=0>
<message note_on channel=2 note=79 velocity=67 time=3>
<message note_on channel=12 note=79 velocity=67 time=0>
<message note_on channel=2 note=81 velocity=73 time=89>
<message note_on channel=12 note=81 velocity=73 time=0>
<message note_on channel=2 note=79 velocity=0 time=1>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=0 time=80>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=66 time=10>
<message note_on channel=12 note=79 velocity=66 time=0>
<message note_on channel=2 note=84 velocity=81 time=89>
<message note_on channel=12 note=84 velocity=81 time=0>
<message note_on channel=2 note=79 velocity=0 time=6>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=56 time=89>
<message note_on channel=12 note=79 velocity=56 time=0>
<message note_on channel=2 note=84 velocity=0 time=7>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=72 velocity=71 time=98>
<message note_on channel=12 note=72 velocity=71 time=0>
<message note_on channel=2 note=79 velocity=0 time=2>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=61 time=102>
<message note_on channel=12 note=41 velocity=61 time=0>
<message note_on channel=2 note=81 velocity=79 time=3>
<message note_on channel=12 note=81 velocity=79 time=0>
<message note_on channel=2 note=36 velocity=0 time=0>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=72 velocity=0 time=0>
<message note_on channel=12 note=72 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=72 time=87>
<message note_on channel=12 note=83 velocity=72 time=0>
<message note_on channel=2 note=81 velocity=0 time=1>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=77 time=94>
<message note_on channel=12 note=84 velocity=77 time=0>
<message note_on channel=2 note=83 velocity=0 time=4>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=0 time=8>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=55 time=78>
<message note_on channel=12 note=36 velocity=55 time=0>
<message note_on channel=2 note=79 velocity=66 time=3>
<message note_on channel=12 note=79 velocity=66 time=0>
<message note_on channel=2 note=84 velocity=0 time=8>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=76 velocity=42 time=82>
<message note_on channel=12 note=76 velocity=42 time=0>
<message note_on channel=2 note=79 velocity=0 time=4>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=76 velocity=0 time=32>
<message note_on channel=12 note=76 velocity=0 time=0>
<message note_on channel=2 note=72 velocity=56 time=55>
<message note_on channel=12 note=72 velocity=56 time=0>
<message note_on channel=2 note=36 velocity=0 time=76>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=59 time=17>
<message note_on channel=12 note=41 velocity=59 time=0>
<message note_on channel=2 note=81 velocity=85 time=4>
<message note_on channel=12 note=81 velocity=85 time=0>
<message note_on channel=2 note=72 velocity=0 time=2>
<message note_on channel=12 note=72 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=58 time=99>
<message note_on channel=12 note=83 velocity=58 time=0>
<message note_on channel=2 note=81 velocity=0 time=3>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=0 time=90>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=66 time=1>
<message note_on channel=12 note=84 velocity=66 time=0>
<message note_on channel=2 note=84 velocity=0 time=56>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=0 time=36>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=45 time=4>
<message note_on channel=12 note=36 velocity=45 time=0>
<message note_on channel=2 note=91 velocity=66 time=10>
<message note_on channel=12 note=91 velocity=66 time=0>
<message note_on channel=2 note=89 velocity=69 time=0>
<message note_on channel=12 note=89 velocity=69 time=0>
<message note_on channel=2 note=91 velocity=0 time=28>
<message note_on channel=12 note=91 velocity=0 time=0>
<message note_on channel=2 note=88 velocity=67 time=68>
<message note_on channel=12 note=88 velocity=67 time=0>
<message note_on channel=2 note=89 velocity=0 time=5>
<message note_on channel=12 note=89 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=67 time=83>
<message note_on channel=12 note=84 velocity=67 time=0>
<message note_on channel=2 note=88 velocity=0 time=7>
<message note_on channel=12 note=88 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=0 time=75>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=38 velocity=47 time=7>
<message note_on channel=12 note=38 velocity=47 time=0>
<message note_on channel=2 note=78 velocity=72 time=2>
<message note_on channel=12 note=78 velocity=72 time=0>
<message note_on channel=2 note=84 velocity=0 time=2>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=56 time=100>
<message note_on channel=12 note=81 velocity=56 time=0>
<message note_on channel=2 note=78 velocity=0 time=9>
<message note_on channel=12 note=78 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=64 time=97>
<message note_on channel=12 note=84 velocity=64 time=0>
<message note_on channel=2 note=81 velocity=0 time=1>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=79 time=96>
<message note_on channel=12 note=83 velocity=79 time=0>
<message note_on channel=2 note=43 velocity=52 time=0>
<message note_on channel=12 note=43 velocity=52 time=0>
<message note_on channel=2 note=38 velocity=0 time=0>
<message note_on channel=12 note=38 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=6>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=0 time=138>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=79 time=60>
<message note_on channel=12 note=79 velocity=79 time=0>
<message note_on channel=2 note=43 velocity=0 time=20>
<message note_on channel=12 note=43 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=82 time=86>
<message note_on channel=12 note=81 velocity=82 time=0>
<message note_on channel=2 note=79 velocity=0 time=6>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=41 velocity=86 time=5>
<message note_on channel=12 note=41 velocity=86 time=0>
<message note_on channel=2 note=83 velocity=85 time=76>
<message note_on channel=12 note=83 velocity=85 time=0>
<message note_on channel=2 note=81 velocity=0 time=3>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=78 time=84>
<message note_on channel=12 note=84 velocity=78 time=0>
<message note_on channel=2 note=83 velocity=0 time=1>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=40 velocity=47 time=91>
<message note_on channel=12 note=40 velocity=47 time=0>
<message note_on channel=2 note=79 velocity=71 time=1>
<message note_on channel=12 note=79 velocity=71 time=0>
<message note_on channel=2 note=41 velocity=0 time=2>
<message note_on channel=12 note=41 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=0>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=79 time=86>
<message note_on channel=12 note=83 velocity=79 time=0>
<message note_on channel=2 note=79 velocity=0 time=10>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=63 time=84>
<message note_on channel=12 note=84 velocity=63 time=0>
<message note_on channel=2 note=83 velocity=0 time=2>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=80>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=77 velocity=73 time=2>
<message note_on channel=12 note=77 velocity=73 time=0>
<message note_on channel=2 note=40 velocity=0 time=1>
<message note_on channel=12 note=40 velocity=0 time=0>
<message note_on channel=2 note=38 velocity=55 time=3>
<message note_on channel=12 note=38 velocity=55 time=0>
<message note_on channel=2 note=83 velocity=72 time=102>
<message note_on channel=12 note=83 velocity=72 time=0>
<message note_on channel=2 note=77 velocity=0 time=8>
<message note_on channel=12 note=77 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=72 time=95>
<message note_on channel=12 note=84 velocity=72 time=0>
<message note_on channel=2 note=83 velocity=0 time=1>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=91>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=59 time=0>
<message note_on channel=12 note=36 velocity=59 time=0>
<message note_on channel=2 note=76 velocity=72 time=3>
<message note_on channel=12 note=76 velocity=72 time=0>
<message note_on channel=2 note=38 velocity=0 time=0>
<message note_on channel=12 note=38 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=67 time=85>
<message note_on channel=12 note=83 velocity=67 time=0>
<message note_on channel=2 note=76 velocity=0 time=10>
<message note_on channel=12 note=76 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=0 time=80>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=75 time=9>
<message note_on channel=12 note=84 velocity=75 time=0>
<message note_on channel=2 note=83 velocity=0 time=8>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=29 velocity=60 time=87>
<message note_on channel=12 note=29 velocity=60 time=0>
<message note_on channel=2 note=84 velocity=0 time=5>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=62 time=1>
<message note_on channel=12 note=81 velocity=62 time=0>
<message note_on channel=2 note=83 velocity=79 time=92>
<message note_on channel=12 note=83 velocity=79 time=0>
<message note_on channel=2 note=81 velocity=0 time=8>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=72 time=84>
<message note_on channel=12 note=84 velocity=72 time=0>
<message note_on channel=2 note=83 velocity=0 time=9>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=31 velocity=65 time=82>
<message note_on channel=12 note=31 velocity=65 time=0>
<message note_on channel=2 note=88 velocity=78 time=5>
<message note_on channel=12 note=88 velocity=78 time=0>
<message note_on channel=2 note=29 velocity=0 time=1>
<message note_on channel=12 note=29 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=4>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=86 velocity=88 time=208>
<message note_on channel=12 note=86 velocity=88 time=0>
<message note_on channel=2 note=88 velocity=0 time=0>
<message note_on channel=12 note=88 velocity=0 time=0>
<message note_on channel=2 note=31 velocity=0 time=86>
<message note_on channel=12 note=31 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=69 time=5>
<message note_on channel=12 note=36 velocity=69 time=0>
<message note_on channel=2 note=84 velocity=92 time=4>
<message note_on channel=12 note=84 velocity=92 time=0>
<message note_on channel=2 note=86 velocity=0 time=2>
<message note_on channel=12 note=86 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=324>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=36 velocity=0 time=5>
<message note_on channel=12 note=36 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=76 time=837>
<message note_on channel=12 note=81 velocity=76 time=0>
<message note_on channel=2 note=81 velocity=0 time=77>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=89 velocity=42 time=9>
<message note_on channel=12 note=89 velocity=42 time=0>
<message note_on channel=2 note=81 velocity=68 time=89>
<message note_on channel=12 note=81 velocity=68 time=0>
<message note_on channel=2 note=89 velocity=0 time=11>
<message note_on channel=12 note=89 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=0 time=85>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=88 velocity=64 time=1>
<message note_on channel=12 note=88 velocity=64 time=0>
<message note_on channel=2 note=84 velocity=63 time=86>
<message note_on channel=12 note=84 velocity=63 time=0>
<message note_on channel=2 note=88 velocity=0 time=10>
<message note_on channel=12 note=88 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=64 time=78>
<message note_on channel=12 note=79 velocity=64 time=0>
<message note_on channel=2 note=84 velocity=0 time=5>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=78 time=97>
<message note_on channel=12 note=81 velocity=78 time=0>
<message note_on channel=2 note=79 velocity=0 time=1>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=83 velocity=69 time=85>
<message note_on channel=12 note=83 velocity=69 time=0>
<message note_on channel=2 note=81 velocity=0 time=4>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=83 time=87>
<message note_on channel=12 note=84 velocity=83 time=0>
<message note_on channel=2 note=83 velocity=0 time=3>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=86 velocity=76 time=97>
<message note_on channel=12 note=86 velocity=76 time=0>
<message note_on channel=2 note=84 velocity=0 time=8>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=86 velocity=0 time=227>
<message note_on channel=12 note=86 velocity=0 time=0>
<message note_on channel=2 note=81 velocity=74 time=77>
<message note_on channel=12 note=81 velocity=74 time=0>
<message note_on channel=2 note=83 velocity=73 time=93>
<message note_on channel=12 note=83 velocity=73 time=0>
<message note_on channel=2 note=81 velocity=0 time=13>
<message note_on channel=12 note=81 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=85 time=80>
<message note_on channel=12 note=84 velocity=85 time=0>
<message note_on channel=2 note=83 velocity=0 time=5>
<message note_on channel=12 note=83 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=89>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=85 time=3>
<message note_on channel=12 note=79 velocity=85 time=0>
<message note_on channel=2 note=84 velocity=75 time=88>
<message note_on channel=12 note=84 velocity=75 time=0>
<message note_on channel=2 note=79 velocity=0 time=4>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=84 velocity=0 time=85>
<message note_on channel=12 note=84 velocity=0 time=0>
<message note_on channel=2 note=79 velocity=72 time=0>
<message note_on channel=12 note=79 velocity=72 time=0>
<message note_on channel=2 note=79 velocity=0 time=46>
<message note_on channel=12 note=79 velocity=0 time=0>
<message note_on channel=2 note=77 velocity=82 time=42>
<message note_on channel=12 note=77 velocity=82 time=0>
<message note_on channel=2 note=76 velocity=69 time=89>
<message note_on channel=12 note=76 velocity=69 time=0>
<message note_on channel=2 note=77 velocity=0 time=10>
<message note_on channel=12 note=77 velocity=0 time=0>
<message note_on channel=2 note=74 velocity=77 time=83>
<message note_on channel=12 note=74 velocity=77 time=0>
<message note_on channel=2 note=76 velocity=0 time=5>
<message note_on channel=12 note=76 velocity=0 time=0>
<message note_on channel=2 note=72 velocity=64 time=92>
<message note_on channel=12 note=72 velocity=64 time=0>
<message note_on channel=2 note=74 velocity=0 time=1>
<message note_on channel=12 note=74 velocity=0 time=0>
<message note_on channel=2 note=72 velocity=0 time=95>
<message note_on channel=12 note=72 velocity=0 time=0>
<message control_change channel=2 control=120 value=0 time=24>
<message control_change channel=12 control=120 value=0 time=0>
<meta message end_of_track time=0>

In [18]:
mido.tempo2bpm(400000)


Out[18]:
150.0

In [4]:
def hexspace(x):
    return " ".join(format(b, "02X") for b in x)

def trackprint(track):
    s = controlstate.MidiControlState()
    t = 0
    for m in track:
        t += m.time
        if m.is_meta:
            if m.type == 'sequencer_specific':
                print(t, 'Sequencer Specific', hexspace(m.data))
            else:
                print(t, m)
        else:
            w = s.feed(m)
            if w:
                print(t, w)
            else:
                print(t, m)

In [37]:
trackprint(mf.tracks[0])


0 <meta message time_signature numerator=3 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=400000 time=0>
0 GM System ON
0 Reverb Type 01(Hall1)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

In the time track, we have the time signature and tempo, along with reverb and chorus type. There's a meta message for YAMAHA text, and some sequencer specific messages; all this happens at time 0.


In [38]:
trackprint(mf.tracks[1])


0 Reverb Type 01(Hall1)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 2 Bank MSB 0
0 2 Bank LSB 112
0 2 Program Change [0,112,0] 003 Grand Piano (PIANO)
0 C Bank MSB 0
0 C Bank LSB 112
0 C Program Change [0,112,85] 103 Voice Lead (SYNTH LEAD)
0 2 RPN MSB 0
0 2 RPN LSB 0
0 2 Data Entry MSB: Pitch Bend Range 2
0 2 RPN LSB 127
0 2 RPN MSB 127
0 C RPN MSB 0
0 C RPN LSB 0
0 C Data Entry MSB: Pitch Bend Range 2
0 C RPN LSB 127
0 C RPN MSB 127
0 2 Voice Reverb Level 20
0 2 Voice Chorus Level 41
0 2 [Control 94] 0
0 2 Voice Volume 100
0 2 Voice Pan 54
0 2 Expression 127
0 2 Release Time 0
0 2 Pedal Sustain OFF
0 C Voice Reverb Level 60
0 C Voice Chorus Level 24
0 C [Control 94] 0
0 C Voice Volume 100
0 C Voice Pan 74
0 C Expression 127
0 C Release Time 0
0 C Pedal Sustain OFF
0 polytouch channel=2 note=0 value=63 time=0
0 2 Pitch Bend 0
0 C Pitch Bend 0
0 2 Note 036(C1) 77
0 C Note 036(C1) 77
281 2 Note 036(C1) 0
281 C Note 036(C1) 0
285 2 Note 043(G1) 82
285 C Note 043(G1) 82
563 2 Note 038(D1) 65
563 C Note 038(D1) 65
566 2 Note 043(G1) 0
566 C Note 043(G1) 0
840 2 Note 038(D1) 0
840 C Note 038(D1) 0
844 2 Note 041(F1) 68
844 C Note 041(F1) 68
1143 2 Note 041(F1) 0
1143 C Note 041(F1) 0
1145 2 Note 031(G0) 70
1145 C Note 031(G0) 70
1236 2 Note 071(B3) 65
1236 C Note 071(B3) 65
1327 2 Note 071(B3) 0
1327 C Note 071(B3) 0
1329 2 Note 074(D4) 72
1329 C Note 074(D4) 72
1418 2 Note 041(F1) 56
1418 C Note 041(F1) 56
1418 2 Note 074(D4) 0
1418 C Note 074(D4) 0
1420 2 Note 081(A4) 71
1420 C Note 081(A4) 71
1436 2 Note 031(G0) 0
1436 C Note 031(G0) 0
1506 2 Note 079(G4) 63
1506 C Note 079(G4) 63
1516 2 Note 081(A4) 0
1516 C Note 081(A4) 0
1594 2 Note 077(F4) 75
1594 C Note 077(F4) 75
1607 2 Note 079(G4) 0
1607 C Note 079(G4) 0
1685 2 Note 036(C1) 55
1685 C Note 036(C1) 55
1690 2 Note 076(E4) 79
1690 C Note 076(E4) 79
1696 2 Note 041(F1) 0
1696 C Note 041(F1) 0
1699 2 Note 077(F4) 0
1699 C Note 077(F4) 0
1918 2 Note 076(E4) 0
1918 C Note 076(E4) 0
2004 2 Note 036(C1) 0
2004 C Note 036(C1) 0
2289 2 Note 041(F1) 65
2289 C Note 041(F1) 65
2382 2 Note 077(F4) 65
2382 C Note 077(F4) 65
2471 2 Note 077(F4) 0
2471 C Note 077(F4) 0
2476 2 Note 081(A4) 70
2476 C Note 081(A4) 70
2544 2 Note 081(A4) 0
2544 C Note 081(A4) 0
2574 2 Note 093(A5) 61
2574 C Note 093(A5) 61
2664 2 Note 093(A5) 0
2664 C Note 093(A5) 0
2665 2 Note 091(G5) 66
2665 C Note 091(G5) 66
2750 2 Note 041(F1) 0
2750 C Note 041(F1) 0
2755 2 Note 089(F5) 63
2755 C Note 089(F5) 63
2762 2 Note 091(G5) 0
2762 C Note 091(G5) 0
2832 2 Note 036(C1) 52
2832 C Note 036(C1) 52
2840 2 Note 088(E5) 76
2840 C Note 088(E5) 76
2849 2 Note 089(F5) 0
2849 C Note 089(F5) 0
2939 2 Note 086(D5) 53
2939 C Note 086(D5) 53
2945 2 Note 088(E5) 0
2945 C Note 088(E5) 0
3031 2 Note 084(C5) 60
3031 C Note 084(C5) 60
3035 2 Note 086(D5) 0
3035 C Note 086(D5) 0
3136 2 Note 083(B4) 74
3136 C Note 083(B4) 74
3144 2 Note 084(C5) 0
3144 C Note 084(C5) 0
3239 2 Note 081(A4) 59
3239 C Note 081(A4) 59
3243 2 Note 083(B4) 0
3243 C Note 083(B4) 0
3339 2 Note 079(G4) 45
3339 C Note 079(G4) 45
3350 2 Note 081(A4) 0
3350 C Note 081(A4) 0
3355 2 Note 036(C1) 0
3355 C Note 036(C1) 0
3398 2 Note 079(G4) 0
3398 C Note 079(G4) 0
3439 2 Note 031(G0) 79
3439 C Note 031(G0) 79
3440 2 Note 079(G4) 72
3440 C Note 079(G4) 72
3529 2 Note 079(G4) 0
3529 C Note 079(G4) 0
3530 2 Note 081(A4) 63
3530 C Note 081(A4) 63
3620 2 Note 079(G4) 63
3620 C Note 079(G4) 63
3631 2 Note 081(A4) 0
3631 C Note 081(A4) 0
3709 2 Note 041(F1) 53
3709 C Note 041(F1) 53
3715 2 Note 077(F4) 56
3715 C Note 077(F4) 56
3719 2 Note 079(G4) 0
3719 C Note 079(G4) 0
3793 2 Note 077(F4) 0
3793 C Note 077(F4) 0
3819 2 Note 069(A3) 72
3819 C Note 069(A3) 72
3852 2 Note 031(G0) 0
3852 C Note 031(G0) 0
3904 2 Note 071(B3) 72
3904 C Note 071(B3) 72
3907 2 Note 069(A3) 0
3907 C Note 069(A3) 0
3952 2 Note 041(F1) 0
3952 C Note 041(F1) 0
3990 2 Note 036(C1) 52
3990 C Note 036(C1) 52
3993 2 Note 072(C4) 81
3993 C Note 072(C4) 81
4000 2 Note 071(B3) 0
4000 C Note 071(B3) 0
4304 2 Note 036(C1) 0
4304 C Note 036(C1) 0
4308 2 Note 072(C4) 0
4308 C Note 072(C4) 0
4596 2 Note 036(C1) 47
4596 C Note 036(C1) 47
4599 2 Note 079(G4) 67
4599 C Note 079(G4) 67
4688 2 Note 081(A4) 73
4688 C Note 081(A4) 73
4689 2 Note 079(G4) 0
4689 C Note 079(G4) 0
4769 2 Note 081(A4) 0
4769 C Note 081(A4) 0
4779 2 Note 079(G4) 66
4779 C Note 079(G4) 66
4868 2 Note 084(C5) 81
4868 C Note 084(C5) 81
4874 2 Note 079(G4) 0
4874 C Note 079(G4) 0
4963 2 Note 079(G4) 56
4963 C Note 079(G4) 56
4970 2 Note 084(C5) 0
4970 C Note 084(C5) 0
5068 2 Note 072(C4) 71
5068 C Note 072(C4) 71
5070 2 Note 079(G4) 0
5070 C Note 079(G4) 0
5172 2 Note 041(F1) 61
5172 C Note 041(F1) 61
5175 2 Note 081(A4) 79
5175 C Note 081(A4) 79
5175 2 Note 036(C1) 0
5175 C Note 036(C1) 0
5175 2 Note 072(C4) 0
5175 C Note 072(C4) 0
5262 2 Note 083(B4) 72
5262 C Note 083(B4) 72
5263 2 Note 081(A4) 0
5263 C Note 081(A4) 0
5357 2 Note 084(C5) 77
5357 C Note 084(C5) 77
5361 2 Note 083(B4) 0
5361 C Note 083(B4) 0
5369 2 Note 041(F1) 0
5369 C Note 041(F1) 0
5447 2 Note 036(C1) 55
5447 C Note 036(C1) 55
5450 2 Note 079(G4) 66
5450 C Note 079(G4) 66
5458 2 Note 084(C5) 0
5458 C Note 084(C5) 0
5540 2 Note 076(E4) 42
5540 C Note 076(E4) 42
5544 2 Note 079(G4) 0
5544 C Note 079(G4) 0
5576 2 Note 076(E4) 0
5576 C Note 076(E4) 0
5631 2 Note 072(C4) 56
5631 C Note 072(C4) 56
5707 2 Note 036(C1) 0
5707 C Note 036(C1) 0
5724 2 Note 041(F1) 59
5724 C Note 041(F1) 59
5728 2 Note 081(A4) 85
5728 C Note 081(A4) 85
5730 2 Note 072(C4) 0
5730 C Note 072(C4) 0
5829 2 Note 083(B4) 58
5829 C Note 083(B4) 58
5832 2 Note 081(A4) 0
5832 C Note 081(A4) 0
5922 2 Note 083(B4) 0
5922 C Note 083(B4) 0
5923 2 Note 084(C5) 66
5923 C Note 084(C5) 66
5979 2 Note 084(C5) 0
5979 C Note 084(C5) 0
6015 2 Note 041(F1) 0
6015 C Note 041(F1) 0
6019 2 Note 036(C1) 45
6019 C Note 036(C1) 45
6029 2 Note 091(G5) 66
6029 C Note 091(G5) 66
6029 2 Note 089(F5) 69
6029 C Note 089(F5) 69
6057 2 Note 091(G5) 0
6057 C Note 091(G5) 0
6125 2 Note 088(E5) 67
6125 C Note 088(E5) 67
6130 2 Note 089(F5) 0
6130 C Note 089(F5) 0
6213 2 Note 084(C5) 67
6213 C Note 084(C5) 67
6220 2 Note 088(E5) 0
6220 C Note 088(E5) 0
6295 2 Note 036(C1) 0
6295 C Note 036(C1) 0
6302 2 Note 038(D1) 47
6302 C Note 038(D1) 47
6304 2 Note 078(F#4) 72
6304 C Note 078(F#4) 72
6306 2 Note 084(C5) 0
6306 C Note 084(C5) 0
6406 2 Note 081(A4) 56
6406 C Note 081(A4) 56
6415 2 Note 078(F#4) 0
6415 C Note 078(F#4) 0
6512 2 Note 084(C5) 64
6512 C Note 084(C5) 64
6513 2 Note 081(A4) 0
6513 C Note 081(A4) 0
6609 2 Note 083(B4) 79
6609 C Note 083(B4) 79
6609 2 Note 043(G1) 52
6609 C Note 043(G1) 52
6609 2 Note 038(D1) 0
6609 C Note 038(D1) 0
6615 2 Note 084(C5) 0
6615 C Note 084(C5) 0
6753 2 Note 083(B4) 0
6753 C Note 083(B4) 0
6813 2 Note 079(G4) 79
6813 C Note 079(G4) 79
6833 2 Note 043(G1) 0
6833 C Note 043(G1) 0
6919 2 Note 081(A4) 82
6919 C Note 081(A4) 82
6925 2 Note 079(G4) 0
6925 C Note 079(G4) 0
6930 2 Note 041(F1) 86
6930 C Note 041(F1) 86
7006 2 Note 083(B4) 85
7006 C Note 083(B4) 85
7009 2 Note 081(A4) 0
7009 C Note 081(A4) 0
7093 2 Note 084(C5) 78
7093 C Note 084(C5) 78
7094 2 Note 083(B4) 0
7094 C Note 083(B4) 0
7185 2 Note 040(E1) 47
7185 C Note 040(E1) 47
7186 2 Note 079(G4) 71
7186 C Note 079(G4) 71
7188 2 Note 041(F1) 0
7188 C Note 041(F1) 0
7188 2 Note 084(C5) 0
7188 C Note 084(C5) 0
7274 2 Note 083(B4) 79
7274 C Note 083(B4) 79
7284 2 Note 079(G4) 0
7284 C Note 079(G4) 0
7368 2 Note 084(C5) 63
7368 C Note 084(C5) 63
7370 2 Note 083(B4) 0
7370 C Note 083(B4) 0
7450 2 Note 084(C5) 0
7450 C Note 084(C5) 0
7452 2 Note 077(F4) 73
7452 C Note 077(F4) 73
7453 2 Note 040(E1) 0
7453 C Note 040(E1) 0
7456 2 Note 038(D1) 55
7456 C Note 038(D1) 55
7558 2 Note 083(B4) 72
7558 C Note 083(B4) 72
7566 2 Note 077(F4) 0
7566 C Note 077(F4) 0
7661 2 Note 084(C5) 72
7661 C Note 084(C5) 72
7662 2 Note 083(B4) 0
7662 C Note 083(B4) 0
7753 2 Note 084(C5) 0
7753 C Note 084(C5) 0
7753 2 Note 036(C1) 59
7753 C Note 036(C1) 59
7756 2 Note 076(E4) 72
7756 C Note 076(E4) 72
7756 2 Note 038(D1) 0
7756 C Note 038(D1) 0
7841 2 Note 083(B4) 67
7841 C Note 083(B4) 67
7851 2 Note 076(E4) 0
7851 C Note 076(E4) 0
7931 2 Note 036(C1) 0
7931 C Note 036(C1) 0
7940 2 Note 084(C5) 75
7940 C Note 084(C5) 75
7948 2 Note 083(B4) 0
7948 C Note 083(B4) 0
8035 2 Note 029(F0) 60
8035 C Note 029(F0) 60
8040 2 Note 084(C5) 0
8040 C Note 084(C5) 0
8041 2 Note 081(A4) 62
8041 C Note 081(A4) 62
8133 2 Note 083(B4) 79
8133 C Note 083(B4) 79
8141 2 Note 081(A4) 0
8141 C Note 081(A4) 0
8225 2 Note 084(C5) 72
8225 C Note 084(C5) 72
8234 2 Note 083(B4) 0
8234 C Note 083(B4) 0
8316 2 Note 031(G0) 65
8316 C Note 031(G0) 65
8321 2 Note 088(E5) 78
8321 C Note 088(E5) 78
8322 2 Note 029(F0) 0
8322 C Note 029(F0) 0
8326 2 Note 084(C5) 0
8326 C Note 084(C5) 0
8534 2 Note 086(D5) 88
8534 C Note 086(D5) 88
8534 2 Note 088(E5) 0
8534 C Note 088(E5) 0
8620 2 Note 031(G0) 0
8620 C Note 031(G0) 0
8625 2 Note 036(C1) 69
8625 C Note 036(C1) 69
8629 2 Note 084(C5) 92
8629 C Note 084(C5) 92
8631 2 Note 086(D5) 0
8631 C Note 086(D5) 0
8955 2 Note 084(C5) 0
8955 C Note 084(C5) 0
8960 2 Note 036(C1) 0
8960 C Note 036(C1) 0
9797 2 Note 081(A4) 76
9797 C Note 081(A4) 76
9874 2 Note 081(A4) 0
9874 C Note 081(A4) 0
9883 2 Note 089(F5) 42
9883 C Note 089(F5) 42
9972 2 Note 081(A4) 68
9972 C Note 081(A4) 68
9983 2 Note 089(F5) 0
9983 C Note 089(F5) 0
10068 2 Note 081(A4) 0
10068 C Note 081(A4) 0
10069 2 Note 088(E5) 64
10069 C Note 088(E5) 64
10155 2 Note 084(C5) 63
10155 C Note 084(C5) 63
10165 2 Note 088(E5) 0
10165 C Note 088(E5) 0
10243 2 Note 079(G4) 64
10243 C Note 079(G4) 64
10248 2 Note 084(C5) 0
10248 C Note 084(C5) 0
10345 2 Note 081(A4) 78
10345 C Note 081(A4) 78
10346 2 Note 079(G4) 0
10346 C Note 079(G4) 0
10431 2 Note 083(B4) 69
10431 C Note 083(B4) 69
10435 2 Note 081(A4) 0
10435 C Note 081(A4) 0
10522 2 Note 084(C5) 83
10522 C Note 084(C5) 83
10525 2 Note 083(B4) 0
10525 C Note 083(B4) 0
10622 2 Note 086(D5) 76
10622 C Note 086(D5) 76
10630 2 Note 084(C5) 0
10630 C Note 084(C5) 0
10857 2 Note 086(D5) 0
10857 C Note 086(D5) 0
10934 2 Note 081(A4) 74
10934 C Note 081(A4) 74
11027 2 Note 083(B4) 73
11027 C Note 083(B4) 73
11040 2 Note 081(A4) 0
11040 C Note 081(A4) 0
11120 2 Note 084(C5) 85
11120 C Note 084(C5) 85
11125 2 Note 083(B4) 0
11125 C Note 083(B4) 0
11214 2 Note 084(C5) 0
11214 C Note 084(C5) 0
11217 2 Note 079(G4) 85
11217 C Note 079(G4) 85
11305 2 Note 084(C5) 75
11305 C Note 084(C5) 75
11309 2 Note 079(G4) 0
11309 C Note 079(G4) 0
11394 2 Note 084(C5) 0
11394 C Note 084(C5) 0
11394 2 Note 079(G4) 72
11394 C Note 079(G4) 72
11440 2 Note 079(G4) 0
11440 C Note 079(G4) 0
11482 2 Note 077(F4) 82
11482 C Note 077(F4) 82
11571 2 Note 076(E4) 69
11571 C Note 076(E4) 69
11581 2 Note 077(F4) 0
11581 C Note 077(F4) 0
11664 2 Note 074(D4) 77
11664 C Note 074(D4) 77
11669 2 Note 076(E4) 0
11669 C Note 076(E4) 0
11761 2 Note 072(C4) 64
11761 C Note 072(C4) 64
11762 2 Note 074(D4) 0
11762 C Note 074(D4) 0
11857 2 Note 072(C4) 0
11857 C Note 072(C4) 0
11881 2 All Sound OFF
11881 C All Sound OFF
11881 <meta message end_of_track time=0>

I recorded Track 3, with main voice 003 and dual voice 103. It seems the main voice is on Channel 0x2 and the dual voice on channel 0xC (so, Channels 3 and 13).

At the beginning, the controls are set for reverb and chorus type, pitch bend, reverb and chorus levels, voice volume, pan, expression, release time (panel sustain), as wekk as Control 94, which according to the MIDI spec table is Effects 4 (Celeste) depth, which is set to zero. The DGX-505 does not apparently recognise it or emit it, but it's something that's recorded (for compatibility?) Same with the polyphonic aftertouch.

Now, what's sent over the MIDI on Song Out playback?


In [40]:
!python slurp.py -gp DGX > documents/data/user_song_tests/1track_2.txt


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'. CtrlC to stop
^C
Stopping on KeyboardInterrupt

In [45]:
with open('documents/data/user_song_tests/1track_2.txt') as infile:
    played = list(mido_util.readin_strings(infile))

In [5]:
from commons import mido_util

In [6]:
def mprint(seq, tpb=None, bpm=None):
    s = controlstate.MidiControlState()
    rt = 0
    if tpb:
        tempo = mido.bpm2tempo(bpm)
        
    for m in seq:
        if m.type != 'clock':
            if m.type == 'start':
                rt = m.time
            t = m.time - rt
            w = s.feed(m)
            
            if tpb:
                t = mido.second2tick(t, tpb, tempo)
            
            if w:
                print(format(t, '.2f'), w)
            else:
                print(format(t, '.2f'), m)

In [69]:
mprint(played, 96, 150)


0.00 start time=2.2532950180002445
2.66 5 All Sound OFF
2.88 5 Note 024(C0) 77
283.93 5 Note 024(C0) 0
287.76 5 Note 031(G0) 82
565.68 5 Note 026(D0) 65
568.79 5 Note 031(G0) 0
842.62 5 Note 026(D0) 0
846.70 5 Note 029(F0) 68
1145.74 5 Note 029(F0) 0
1147.66 5 Note 019(G-1) 70
1238.61 5 Note 059(B2) 65
1329.82 5 Note 059(B2) 0
1331.73 5 Note 062(D3) 72
1420.53 5 Note 029(F0) 56
1421.01 5 Note 062(D3) 0
1422.69 5 Note 069(A3) 71
1438.77 5 Note 019(G-1) 0
1508.85 5 Note 067(G3) 63
1518.69 5 Note 069(A3) 0
1596.71 5 Note 065(F3) 75
1609.66 5 Note 067(G3) 0
1687.64 5 Note 024(C0) 55
1692.69 5 Note 064(E3) 79
1698.68 5 Note 029(F0) 0
1701.56 5 Note 065(F3) 0
1920.68 5 Note 064(E3) 0
2006.84 5 Note 024(C0) 0
2291.71 5 Note 029(F0) 65
2384.60 5 Note 065(F3) 65
2473.63 5 Note 065(F3) 0
2478.66 5 Note 069(A3) 70
2546.82 5 Note 069(A3) 0
2576.82 5 Note 081(A4) 61
2666.82 5 Note 081(A4) 0
2667.78 5 Note 079(G4) 66
2752.74 5 Note 029(F0) 0
2757.78 5 Note 077(F4) 63
2764.74 5 Note 079(G4) 0
2834.82 5 Note 024(C0) 52
2842.50 5 Note 076(E4) 76
2851.61 5 Note 077(F4) 0
2941.62 5 Note 074(D4) 53
2947.61 5 Note 076(E4) 0
3033.77 5 Note 072(C4) 60
3037.61 5 Note 074(D4) 0
3138.89 5 Note 071(B3) 74
3146.57 5 Note 072(C4) 0
3241.62 5 Note 069(A3) 59
3245.70 5 Note 071(B3) 0
3341.69 5 Note 067(G3) 45
3352.72 5 Note 069(A3) 0
3357.53 5 Note 024(C0) 0
3400.48 5 Note 067(G3) 0
3441.77 5 Note 019(G-1) 79
3442.49 5 Note 067(G3) 72
3531.76 5 Note 067(G3) 0
3532.72 5 Note 069(A3) 63
3622.50 5 Note 067(G3) 63
3633.76 5 Note 069(A3) 0
3711.76 5 Note 029(F0) 53
3717.51 5 Note 065(F3) 56
3721.84 5 Note 067(G3) 0
3795.76 5 Note 065(F3) 0
3821.67 5 Note 057(A2) 72
3854.80 5 Note 019(G-1) 0
3906.87 5 Note 059(B2) 72
3909.99 5 Note 057(A2) 0
3954.63 5 Note 029(F0) 0
3992.79 5 Note 024(C0) 52
3995.67 5 Note 060(C3) 81
4002.87 5 Note 059(B2) 0
4306.70 5 Note 024(C0) 0
4310.78 5 Note 060(C3) 0
4598.77 5 Note 024(C0) 47
4601.65 5 Note 067(G3) 67
4690.69 5 Note 069(A3) 73
4692.13 5 Note 067(G3) 0
4771.67 5 Note 069(A3) 0
4781.70 5 Note 067(G3) 66
4870.71 5 Note 072(C4) 81
4876.72 5 Note 067(G3) 0
4965.76 5 Note 067(G3) 56
4972.71 5 Note 072(C4) 0
5070.60 5 Note 060(C3) 71
5072.79 5 Note 067(G3) 0
5174.76 5 Note 029(F0) 61
5177.64 5 Note 069(A3) 79
5178.12 5 Note 024(C0) 0
5178.84 5 Note 060(C3) 0
5264.55 5 Note 071(B3) 72
5266.02 5 Note 069(A3) 0
5359.82 5 Note 072(C4) 77
5363.67 5 Note 071(B3) 0
5371.80 5 Note 029(F0) 0
5449.82 5 Note 024(C0) 55
5452.67 5 Note 067(G3) 66
5460.86 5 Note 072(C4) 0
5542.92 5 Note 064(E3) 42
5546.99 5 Note 067(G3) 0
5578.72 5 Note 064(E3) 0
5633.68 5 Note 060(C3) 56
5709.76 5 Note 024(C0) 0
5726.77 5 Note 029(F0) 59
5730.59 5 Note 069(A3) 85
5732.78 5 Note 060(C3) 0
5831.63 5 Note 071(B3) 58
5834.77 5 Note 069(A3) 0
5924.54 5 Note 071(B3) 0
5925.75 5 Note 072(C4) 66
5981.66 5 Note 072(C4) 0
6017.68 5 Note 029(F0) 0
6021.78 5 Note 024(C0) 45
6031.81 5 Note 079(G4) 66
6032.02 5 Note 077(F4) 69
6059.65 5 Note 079(G4) 0
6127.78 5 Note 076(E4) 67
6132.87 5 Note 077(F4) 0
6215.64 5 Note 072(C4) 67
6222.58 5 Note 076(E4) 0
6297.77 5 Note 024(C0) 0
6304.67 5 Note 026(D0) 47
6306.57 5 Note 066(F#3) 72
6308.75 5 Note 072(C4) 0
6408.57 5 Note 069(A3) 56
6417.69 5 Note 066(F#3) 0
6514.71 5 Note 072(C4) 64
6515.67 5 Note 069(A3) 0
6611.61 5 Note 071(B3) 79
6612.08 5 Note 031(G0) 52
6613.52 5 Note 026(D0) 0
6617.61 5 Note 072(C4) 0
6755.62 5 Note 071(B3) 0
6815.61 5 Note 067(G3) 79
6835.81 5 Note 031(G0) 0
6921.74 5 Note 069(A3) 82
6927.71 5 Note 067(G3) 0
6932.75 5 Note 029(F0) 86
7008.56 5 Note 071(B3) 85
7011.68 5 Note 069(A3) 0
7095.68 5 Note 072(C4) 78
7097.19 5 Note 071(B3) 0
7187.61 5 Note 028(E0) 47
7188.55 5 Note 067(G3) 71
7190.96 5 Note 029(F0) 0
7191.45 5 Note 072(C4) 0
7276.64 5 Note 071(B3) 79
7286.95 5 Note 067(G3) 0
7370.95 5 Note 072(C4) 63
7372.64 5 Note 071(B3) 0
7452.59 5 Note 072(C4) 0
7454.95 5 Note 065(F3) 73
7455.67 5 Note 028(E0) 0
7458.57 5 Note 026(D0) 55
7560.55 5 Note 071(B3) 72
7568.95 5 Note 065(F3) 0
7663.75 5 Note 072(C4) 72
7665.18 5 Note 071(B3) 0
7755.66 5 Note 072(C4) 0
7756.14 5 Note 024(C0) 59
7758.54 5 Note 064(E3) 72
7759.26 5 Note 026(D0) 0
7843.84 5 Note 071(B3) 67
7853.82 5 Note 064(E3) 0
7933.50 5 Note 024(C0) 0
7942.62 5 Note 072(C4) 75
7950.77 5 Note 071(B3) 0
8037.65 5 Note 017(F-1) 60
8042.93 5 Note 072(C4) 0
8043.65 5 Note 069(A3) 62
8135.83 5 Note 071(B3) 79
8143.75 5 Note 069(A3) 0
8227.74 5 Note 072(C4) 72
8236.63 5 Note 071(B3) 0
8318.69 5 Note 019(G-1) 65
8323.75 5 Note 076(E4) 78
8325.44 5 Note 017(F-1) 0
8328.81 5 Note 072(C4) 0
8536.63 5 Note 074(D4) 88
8537.08 5 Note 076(E4) 0
8622.52 5 Note 019(G-1) 0
8627.56 5 Note 024(C0) 69
8631.64 5 Note 072(C4) 92
8633.56 5 Note 074(D4) 0
8957.55 5 Note 072(C4) 0
8962.59 5 Note 024(C0) 0
9799.69 5 Note 069(A3) 76
9876.98 5 Note 069(A3) 0
9885.61 5 Note 077(F4) 42
9974.65 5 Note 069(A3) 68
9985.71 5 Note 077(F4) 0
10070.64 5 Note 069(A3) 0
10071.85 5 Note 076(E4) 64
10157.53 5 Note 072(C4) 63
10167.88 5 Note 076(E4) 0
10245.84 5 Note 067(G3) 64
10250.88 5 Note 072(C4) 0
10347.60 5 Note 069(A3) 78
10348.80 5 Note 067(G3) 0
10433.76 5 Note 071(B3) 69
10437.85 5 Note 069(A3) 0
10524.72 5 Note 072(C4) 83
10527.84 5 Note 071(B3) 0
10624.79 5 Note 074(D4) 76
10632.72 5 Note 072(C4) 0
10859.51 5 Note 074(D4) 0
10936.80 5 Note 069(A3) 74
11029.90 5 Note 071(B3) 73
11042.86 5 Note 069(A3) 0
11122.78 5 Note 072(C4) 85
11127.58 5 Note 071(B3) 0
11216.63 5 Note 072(C4) 0
11219.75 5 Note 067(G3) 85
11307.58 5 Note 072(C4) 75
11311.67 5 Note 067(G3) 0
11396.61 5 Note 072(C4) 0
11397.10 5 Note 067(G3) 72
11442.69 5 Note 067(G3) 0
11484.70 5 Note 065(F3) 82
11573.50 5 Note 064(E3) 69
11583.57 5 Note 065(F3) 0
11666.61 5 Note 062(D3) 77
11671.65 5 Note 064(E3) 0
11763.81 5 Note 060(C3) 64
11765.24 5 Note 062(D3) 0
11859.57 5 Note 060(C3) 0
11883.56 5 All Sound OFF
11885.73 stop time=51.77715890699983
11893.16 Chorus Type 1(Chorus1)
11894.84 5 Bank MSB 0
11895.08 5 Bank LSB 112
11895.32 5 Program Change [0,112,0] 003 Grand Piano (PIANO)
11895.56 5 RPN MSB 0
11895.57 5 RPN LSB 0
11895.80 5 Data Entry MSB: Pitch Bend Range 2
11896.05 5 RPN LSB 127
11896.07 5 RPN MSB 127
11896.28 5 Voice Reverb Level 20
11896.52 5 Voice Chorus Level 41
11896.76 5 Voice Pan 54
11896.77 5 Release Time 0
11897.96 5 Pitch Bend 0

In [50]:
!python slurp.py -ngp DGX > documents/data/user_song_tests/1track_ini.txt


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'. CtrlC to stop
^C
Stopping on KeyboardInterrupt

In [51]:
with open('documents/data/user_song_tests/1track_ini.txt') as infile:
    ini1 = list(mido_util.readin_strings(infile))

In [70]:
mprint(ini1, 96, 150)


574.68 GM System ON
622.90 XG System ON
670.91 MIDI Master Tuning 0
671.85 Reverb Type 01(Hall1)
672.57 Chorus Type 1(Chorus1)
694.41 3 Bank MSB 0
694.43 3 Bank LSB 0
694.64 3 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
694.88 3 RPN MSB 0
695.12 3 RPN LSB 0
695.14 3 Data Entry MSB: Pitch Bend Range 2
695.36 3 RPN LSB 127
695.38 3 RPN MSB 127
695.60 3 Voice Reverb Level 40
695.84 3 Voice Chorus Level 0
696.02 3 Voice Volume 100
696.03 3 Voice Pan 64
696.32 3 Pedal Sustain OFF
696.34 3 Modulation Wheel 0
696.56 3 Expression 127
696.80 3 Harmonic Content 0
696.82 3 Release Time 0
697.04 3 Attack Time 0
697.28 3 Brightness 0
697.52 3 Pitch Bend 0
697.76 4 Bank MSB 0
697.78 4 Bank LSB 0
698.00 4 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
698.25 4 RPN MSB 0
698.26 4 RPN LSB 0
698.48 4 Data Entry MSB: Pitch Bend Range 2
698.72 4 RPN LSB 127
698.74 4 RPN MSB 127
698.96 4 Voice Reverb Level 40
699.20 4 Voice Chorus Level 0
699.22 4 Voice Volume 100
699.44 4 Voice Pan 64
699.68 4 Pedal Sustain OFF
699.69 4 Modulation Wheel 0
699.92 4 Expression 127
699.94 4 Harmonic Content 0
700.16 4 Release Time 0
700.40 4 Attack Time 0
700.41 4 Brightness 0
700.64 4 Pitch Bend 0
700.88 5 Bank MSB 0
701.12 5 Bank LSB 112
701.36 5 Program Change [0,112,0] 003 Grand Piano (PIANO)
701.60 5 RPN MSB 0
701.62 5 RPN LSB 0
701.84 5 Data Entry MSB: Pitch Bend Range 2
702.09 5 RPN LSB 127
702.11 5 RPN MSB 127
702.33 5 Voice Reverb Level 20
702.35 5 Voice Chorus Level 41
702.57 5 Voice Volume 100
702.80 5 Voice Pan 54
702.82 5 Pedal Sustain OFF
703.04 5 Modulation Wheel 0
703.28 5 Expression 127
703.30 5 Harmonic Content 0
703.52 5 Release Time 0
703.76 5 Attack Time 0
703.78 5 Brightness 0
704.00 5 Pitch Bend 0
704.24 6 Bank MSB 0
704.48 6 Bank LSB 0
704.49 6 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
704.72 6 RPN MSB 0
704.96 6 RPN LSB 0
705.20 6 Data Entry MSB: Pitch Bend Range 2
705.21 6 RPN LSB 127
705.44 6 RPN MSB 127
705.68 6 Voice Reverb Level 40
705.70 6 Voice Chorus Level 0
705.93 6 Voice Volume 100
705.94 6 Voice Pan 64
706.17 6 Pedal Sustain OFF
706.40 6 Modulation Wheel 0
706.42 6 Expression 127
706.64 6 Harmonic Content 0
706.88 6 Release Time 0
706.89 6 Attack Time 0
707.12 6 Brightness 0
707.36 6 Pitch Bend 0
707.60 7 Bank MSB 0
707.84 7 Bank LSB 0
707.85 7 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
708.08 7 RPN MSB 0
708.32 7 RPN LSB 0
708.33 7 Data Entry MSB: Pitch Bend Range 2
708.56 7 RPN LSB 127
708.80 7 RPN MSB 127
708.81 7 Voice Reverb Level 40
709.04 7 Voice Chorus Level 0
709.28 7 Voice Volume 100
709.29 7 Voice Pan 64
709.52 7 Pedal Sustain OFF
709.76 7 Modulation Wheel 0
709.77 7 Expression 127
710.00 7 Harmonic Content 0
710.02 7 Release Time 0
710.24 7 Attack Time 0
710.48 7 Brightness 0
710.72 7 Pitch Bend 0
710.96 8 Voice Volume 88
710.97 8 Modulation Wheel 0
711.20 8 Voice Pan 64
711.44 8 Expression 127
711.46 8 Voice Reverb Level 40
711.68 8 Voice Chorus Level 0
711.92 8 Harmonic Content 0
711.93 8 Release Time 0
712.16 8 Attack Time 0
712.40 8 Brightness 0
712.42 8 Bank MSB 127
712.64 8 Bank LSB 0
712.65 8 Program Change [127,0,0] 122 Standard Kit 1 (DRUM KITS)
712.88 8 RPN MSB 0
713.12 8 RPN LSB 0
713.36 8 Data Entry MSB: Pitch Bend Range 2
713.60 8 RPN MSB 0
713.61 8 RPN LSB 1
713.85 8 Data Entry MSB: Channel Fine Tuning 0
713.86 8 RPN MSB 0
714.08 8 RPN LSB 2
714.34 8 Data Entry MSB: Channel Coarse Tuning 0
714.56 8 Pitch Bend 0
714.58 9 Voice Volume 86
714.80 9 Modulation Wheel 0
715.04 9 Voice Pan 64
715.05 9 Expression 127
715.28 9 Voice Reverb Level 20
715.52 9 Voice Chorus Level 0
715.53 9 Harmonic Content 0
715.76 9 Release Time 0
716.00 9 Attack Time 0
716.01 9 Brightness 0
716.24 9 Bank MSB 127
716.48 9 Bank LSB 0
716.49 9 Program Change [127,0,27] 128 Dance Kit (DRUM KITS)
716.72 9 RPN MSB 0
716.96 9 RPN LSB 0
717.20 9 Data Entry MSB: Pitch Bend Range 2
717.21 9 RPN MSB 0
717.44 9 RPN LSB 1
717.45 9 Data Entry MSB: Channel Fine Tuning 0
717.69 9 RPN MSB 0
717.93 9 RPN LSB 2
717.94 9 Data Entry MSB: Channel Coarse Tuning 0
718.16 9 Pitch Bend 0
718.40 A Voice Volume 81
718.64 A Modulation Wheel 0
718.88 A Voice Pan 64
718.89 A Expression 127
719.12 A Voice Reverb Level 0
719.36 A Voice Chorus Level 20
719.37 A Harmonic Content 0
719.60 A Release Time 0
719.61 A Attack Time 0
719.84 A Brightness 0
720.08 A Bank MSB 0
720.10 A Bank LSB 112
720.32 A Program Change [0,112,33] 046 Finger Bass (BASS)
720.56 A RPN MSB 0
720.57 A RPN LSB 0
720.80 A Data Entry MSB: Pitch Bend Range 2
721.04 A RPN MSB 0
721.05 A RPN LSB 1
721.28 A Data Entry MSB: Channel Fine Tuning 0
721.52 A RPN MSB 0
721.53 A RPN LSB 2
721.76 A Data Entry MSB: Channel Coarse Tuning 0
722.00 A Pitch Bend 0
722.24 B Voice Volume 56
722.48 B Modulation Wheel 0
722.49 B Voice Pan 38
722.72 B Expression 127
722.73 B Voice Reverb Level 30
722.96 B Voice Chorus Level 30
723.20 B Harmonic Content 0
723.44 B Release Time 0
723.45 B Attack Time 0
723.68 B Brightness 0
723.70 B Bank MSB 0
723.92 B Bank LSB 117
724.16 B Program Change [0,117,27] 041 60's Clean Guitar (GUITAR)
724.40 B RPN MSB 0
724.41 B RPN LSB 0
724.64 B Data Entry MSB: Pitch Bend Range 2
724.88 B RPN MSB 0
724.89 B RPN LSB 1
725.12 B Data Entry MSB: Channel Fine Tuning 0
725.36 B RPN MSB 0
725.37 B RPN LSB 2
725.60 B Data Entry MSB: Channel Coarse Tuning 0
725.84 B Pitch Bend 0
726.08 C Voice Volume 50
726.10 C Modulation Wheel 0
726.33 C Voice Pan 86
726.57 C Expression 127
726.59 C Voice Reverb Level 40
726.80 C Voice Chorus Level 40
727.04 C Harmonic Content 0
727.05 C Release Time 0
727.28 C Attack Time 0
727.52 C Brightness 0
727.53 C Bank MSB 0
727.76 C Bank LSB 1
727.77 C Program Change [0,1,4] 146 Electric Piano 1 KSP (XG PIANO)
728.00 C RPN MSB 0
728.24 C RPN LSB 0
728.48 C Data Entry MSB: Pitch Bend Range 2
728.49 C RPN MSB 0
728.72 C RPN LSB 1
728.96 C Data Entry MSB: Channel Fine Tuning 0
728.97 C RPN MSB 0
729.20 C RPN LSB 2
729.46 C Data Entry MSB: Channel Coarse Tuning 0
729.48 C Pitch Bend 0
729.69 D Voice Volume 52
729.92 D Modulation Wheel 0
730.16 D Voice Pan 68
730.17 D Expression 127
730.40 D Voice Reverb Level 68
730.64 D Voice Chorus Level 0
730.66 D Harmonic Content 0
730.88 D Release Time 0
731.12 D Attack Time 0
731.13 D Brightness -12
731.37 D Bank MSB 0
731.61 D Bank LSB 0
731.62 D Program Change [0,0,51] 287 Synth Strings 2 (XG ENSEMBLE)
731.84 D RPN MSB 0
732.08 D RPN LSB 0
732.09 D Data Entry MSB: Pitch Bend Range 2
732.32 D RPN MSB 0
732.56 D RPN LSB 1
732.58 D Data Entry MSB: Channel Fine Tuning 0
732.80 D RPN MSB 0
733.04 D RPN LSB 2
733.05 D Data Entry MSB: Channel Coarse Tuning 0
733.28 D Pitch Bend 0
733.52 E Voice Volume 127
733.76 E Modulation Wheel 0
733.78 E Voice Pan 64
734.00 E Expression 127
734.24 E Voice Reverb Level 40
734.25 E Voice Chorus Level 0
734.48 E Harmonic Content 0
734.72 E Release Time 0
734.73 E Attack Time 0
734.96 E Brightness 0
735.20 E Bank MSB 0
735.22 E Bank LSB 0
735.45 E Program Change [0,0,0] 134 Grand Piano (XG PIANO)
735.68 E RPN MSB 0
735.69 E RPN LSB 0
735.92 E Data Entry MSB: Pitch Bend Range 2
736.16 E RPN MSB 0
736.17 E RPN LSB 1
736.40 E Data Entry MSB: Channel Fine Tuning 0
736.64 E RPN MSB 0
736.65 E RPN LSB 2
736.88 E Data Entry MSB: Channel Coarse Tuning 0
737.12 E Pitch Bend 0
737.36 F Voice Volume 127
737.60 F Modulation Wheel 0
737.61 F Voice Pan 64
737.84 F Expression 127
737.85 F Voice Reverb Level 40
738.08 F Voice Chorus Level 0
738.32 F Harmonic Content 0
738.34 F Release Time 0
738.58 F Attack Time 0
738.81 F Brightness 0
739.04 F Bank MSB 0
739.06 F Bank LSB 0
739.29 F Program Change [0,0,0] 134 Grand Piano (XG PIANO)
739.52 F RPN MSB 0
739.53 F RPN LSB 0
739.76 F Data Entry MSB: Pitch Bend Range 2
740.00 F RPN MSB 0
740.01 F RPN LSB 1
740.24 F Data Entry MSB: Channel Fine Tuning 0
740.25 F RPN MSB 0
740.48 F RPN LSB 2
740.72 F Data Entry MSB: Channel Coarse Tuning 0
740.96 F Pitch Bend 0
742.40 0 Bank MSB 0
742.41 0 Bank LSB 112
742.64 0 Program Change [0,112,0] 003 Grand Piano (PIANO)
742.88 1 Bank MSB 0
743.13 1 Bank LSB 112
743.14 1 Program Change [0,112,85] 103 Voice Lead (SYNTH LEAD)
743.36 2 Bank MSB 0
743.60 2 Bank LSB 112
743.61 2 Program Change [0,112,33] 046 Finger Bass (BASS)
743.84 0 Voice Volume 100
744.08 1 Voice Volume 100
744.32 2 Voice Volume 100
744.56 0 Voice Pan 54
744.80 1 Voice Pan 74
745.04 2 Voice Pan 64
745.28 0 Voice Reverb Level 20
745.52 1 Voice Reverb Level 60
745.76 2 Voice Reverb Level 8
746.00 0 Voice Chorus Level 41
746.24 1 Voice Chorus Level 24
746.48 2 Voice Chorus Level 0
746.72 0 RPN MSB 0
746.96 0 RPN LSB 0
746.98 0 Data Entry MSB: Pitch Bend Range 2
747.20 1 RPN MSB 0
747.44 1 RPN LSB 0
747.68 1 Data Entry MSB: Pitch Bend Range 2
747.92 2 RPN MSB 0
747.93 2 RPN LSB 0
748.16 2 Data Entry MSB: Pitch Bend Range 2
748.40 0 Pitch Bend 0
748.64 1 Pitch Bend 0
748.88 2 Pitch Bend 0
749.12 0 Release Time 0
749.36 1 Release Time 0
749.60 2 Release Time 0

Interesting things to note:

The SONG midi output only includes the Main voice, on channel 5. The Dual voice is not present (I suspect this is because the is no more room. 0 through 2 are keyboard voice, then 3 through 7 are for song tracks, and 8 through F are for style and accompaniment.

The track was recorded with MAIN OCTAVE set to -1, DUAL OCTAVE set to 0. This is reflected in the output from the SONG out, which are shifted one octave down, but not for the data stored in the MID file... This data must be somewhere... are they repurposing the polyphonic aftertouch??

If this is indeed the case, then for proper export we must actually parse the messages to correct for this!


In [71]:
!python collect.py -g DGX > documents/data/user_song_tests/2track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [72]:
!python extractor.py documents/data/user_song_tests/2track.syx -S 2 -s 2 -n documents/data/user_song_tests/2track_{}.mid


               Recorded   Duration       Size
 User Song 2       True         35       3805
     Track A      False          0         99
     Track 1      False          0          0
     Track 2      False          0          0
     Track 3       True         31       1999
     Track 4      False          0          0
     Track 5       True         35       1693


In [73]:
!python slurp.py -ngp DGX > documents/data/user_song_tests/2track_ini.txt


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'. CtrlC to stop
^C
Stopping on KeyboardInterrupt

In [75]:
with open('documents/data/user_song_tests/2track_ini.txt') as infile:
    ini2 = list(mido_util.readin_strings(infile))
mprint(ini2)


5.37 GM System ON
5.57 XG System ON
5.77 MIDI Master Tuning 0
5.77 Reverb Type 01(Hall1)
5.78 Chorus Type 1(Chorus1)
5.87 3 Bank MSB 0
5.87 3 Bank LSB 0
5.87 3 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
5.87 3 RPN MSB 0
5.87 3 RPN LSB 0
5.87 3 Data Entry MSB: Pitch Bend Range 2
5.87 3 RPN LSB 127
5.87 3 RPN MSB 127
5.87 3 Voice Reverb Level 40
5.87 3 Voice Chorus Level 0
5.87 3 Voice Volume 100
5.88 3 Voice Pan 64
5.88 3 Pedal Sustain OFF
5.88 3 Modulation Wheel 0
5.88 3 Expression 127
5.88 3 Harmonic Content 0
5.88 3 Release Time 0
5.88 3 Attack Time 0
5.88 3 Brightness 0
5.88 3 Pitch Bend 0
5.88 4 Bank MSB 0
5.88 4 Bank LSB 0
5.88 4 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
5.88 4 RPN MSB 0
5.88 4 RPN LSB 0
5.89 4 Data Entry MSB: Pitch Bend Range 2
5.89 4 RPN LSB 127
5.89 4 RPN MSB 127
5.89 4 Voice Reverb Level 40
5.89 4 Voice Chorus Level 0
5.89 4 Voice Volume 100
5.89 4 Voice Pan 64
5.89 4 Pedal Sustain OFF
5.89 4 Modulation Wheel 0
5.89 4 Expression 127
5.89 4 Harmonic Content 0
5.89 4 Release Time 0
5.89 4 Attack Time 0
5.89 4 Brightness 0
5.89 4 Pitch Bend 0
5.90 5 Bank MSB 0
5.90 5 Bank LSB 112
5.90 5 Program Change [0,112,0] 003 Grand Piano (PIANO)
5.90 5 RPN MSB 0
5.90 5 RPN LSB 0
5.90 5 Data Entry MSB: Pitch Bend Range 2
5.90 5 RPN LSB 127
5.90 5 RPN MSB 127
5.90 5 Voice Reverb Level 20
5.90 5 Voice Chorus Level 41
5.90 5 Voice Volume 100
5.90 5 Voice Pan 54
5.90 5 Pedal Sustain OFF
5.90 5 Modulation Wheel 0
5.90 5 Expression 127
5.91 5 Harmonic Content 0
5.91 5 Release Time 0
5.91 5 Attack Time 0
5.91 5 Brightness 0
5.91 5 Pitch Bend 0
5.91 6 Bank MSB 0
5.91 6 Bank LSB 0
5.91 6 Program Change [0,0,0] 134 Grand Piano (XG PIANO)
5.91 6 RPN MSB 0
5.91 6 RPN LSB 0
5.91 6 Data Entry MSB: Pitch Bend Range 2
5.91 6 RPN LSB 127
5.91 6 RPN MSB 127
5.91 6 Voice Reverb Level 40
5.92 6 Voice Chorus Level 0
5.92 6 Voice Volume 100
5.92 6 Voice Pan 64
5.92 6 Pedal Sustain OFF
5.92 6 Modulation Wheel 0
5.92 6 Expression 127
5.92 6 Harmonic Content 0
5.92 6 Release Time 0
5.92 6 Attack Time 0
5.92 6 Brightness 0
5.92 6 Pitch Bend 0
5.92 7 Bank MSB 0
5.92 7 Bank LSB 0
5.92 7 Program Change [0,0,22] 205 Harmonica (XG ORGAN)
5.93 7 RPN MSB 0
5.93 7 RPN LSB 0
5.93 7 Data Entry MSB: Pitch Bend Range 2
5.93 7 RPN LSB 127
5.93 7 RPN MSB 127
5.93 7 Voice Reverb Level 28
5.93 7 Voice Chorus Level 0
5.93 7 Voice Volume 104
5.93 7 Voice Pan 64
5.93 7 Pedal Sustain OFF
5.93 7 Modulation Wheel 0
5.93 7 Expression 127
5.93 7 Harmonic Content 0
5.93 7 Release Time 0
5.93 7 Attack Time 0
5.94 7 Brightness 0
5.94 7 Pitch Bend 0
5.94 8 Voice Volume 88
5.94 8 Modulation Wheel 0
5.94 8 Voice Pan 64
5.94 8 Expression 127
5.94 8 Voice Reverb Level 40
5.94 8 Voice Chorus Level 0
5.94 8 Harmonic Content 0
5.94 8 Release Time 0
5.94 8 Attack Time 0
5.94 8 Brightness 0
5.94 8 Bank MSB 127
5.94 8 Bank LSB 0
5.94 8 Program Change [127,0,0] 122 Standard Kit 1 (DRUM KITS)
5.95 8 RPN MSB 0
5.95 8 RPN LSB 0
5.95 8 Data Entry MSB: Pitch Bend Range 2
5.95 8 RPN MSB 0
5.95 8 RPN LSB 1
5.95 8 Data Entry MSB: Channel Fine Tuning 0
5.95 8 RPN MSB 0
5.95 8 RPN LSB 2
5.95 8 Data Entry MSB: Channel Coarse Tuning 0
5.95 8 Pitch Bend 0
5.95 9 Voice Volume 86
5.95 9 Modulation Wheel 0
5.95 9 Voice Pan 64
5.95 9 Expression 127
5.96 9 Voice Reverb Level 20
5.96 9 Voice Chorus Level 0
5.96 9 Harmonic Content 0
5.96 9 Release Time 0
5.96 9 Attack Time 0
5.96 9 Brightness 0
5.96 9 Bank MSB 127
5.96 9 Bank LSB 0
5.96 9 Program Change [127,0,27] 128 Dance Kit (DRUM KITS)
5.96 9 RPN MSB 0
5.96 9 RPN LSB 0
5.96 9 Data Entry MSB: Pitch Bend Range 2
5.96 9 RPN MSB 0
5.96 9 RPN LSB 1
5.96 9 Data Entry MSB: Channel Fine Tuning 0
5.97 9 RPN MSB 0
5.97 9 RPN LSB 2
5.97 9 Data Entry MSB: Channel Coarse Tuning 0
5.97 9 Pitch Bend 0
5.97 A Voice Volume 81
5.97 A Modulation Wheel 0
5.97 A Voice Pan 64
5.97 A Expression 127
5.97 A Voice Reverb Level 0
5.97 A Voice Chorus Level 20
5.97 A Harmonic Content 0
5.97 A Release Time 0
5.97 A Attack Time 0
5.97 A Brightness 0
5.98 A Bank MSB 0
5.98 A Bank LSB 112
5.98 A Program Change [0,112,33] 046 Finger Bass (BASS)
5.98 A RPN MSB 0
5.98 A RPN LSB 0
5.98 A Data Entry MSB: Pitch Bend Range 2
5.98 A RPN MSB 0
5.98 A RPN LSB 1
5.98 A Data Entry MSB: Channel Fine Tuning 0
5.98 A RPN MSB 0
5.98 A RPN LSB 2
5.98 A Data Entry MSB: Channel Coarse Tuning 0
5.98 A Pitch Bend 0
5.98 B Voice Volume 56
5.99 B Modulation Wheel 0
5.99 B Voice Pan 38
5.99 B Expression 127
5.99 B Voice Reverb Level 30
5.99 B Voice Chorus Level 30
5.99 B Harmonic Content 0
5.99 B Release Time 0
5.99 B Attack Time 0
5.99 B Brightness 0
5.99 B Bank MSB 0
5.99 B Bank LSB 117
5.99 B Program Change [0,117,27] 041 60's Clean Guitar (GUITAR)
5.99 B RPN MSB 0
5.99 B RPN LSB 0
5.99 B Data Entry MSB: Pitch Bend Range 2
5.99 B RPN MSB 0
6.00 B RPN LSB 1
6.00 B Data Entry MSB: Channel Fine Tuning 0
6.00 B RPN MSB 0
6.00 B RPN LSB 2
6.00 B Data Entry MSB: Channel Coarse Tuning 0
6.00 B Pitch Bend 0
6.00 C Voice Volume 50
6.00 C Modulation Wheel 0
6.00 C Voice Pan 86
6.00 C Expression 127
6.00 C Voice Reverb Level 40
6.00 C Voice Chorus Level 40
6.00 C Harmonic Content 0
6.00 C Release Time 0
6.01 C Attack Time 0
6.01 C Brightness 0
6.01 C Bank MSB 0
6.01 C Bank LSB 1
6.01 C Program Change [0,1,4] 146 Electric Piano 1 KSP (XG PIANO)
6.01 C RPN MSB 0
6.01 C RPN LSB 0
6.01 C Data Entry MSB: Pitch Bend Range 2
6.01 C RPN MSB 0
6.01 C RPN LSB 1
6.01 C Data Entry MSB: Channel Fine Tuning 0
6.01 C RPN MSB 0
6.01 C RPN LSB 2
6.01 C Data Entry MSB: Channel Coarse Tuning 0
6.01 C Pitch Bend 0
6.02 D Voice Volume 52
6.02 D Modulation Wheel 0
6.02 D Voice Pan 68
6.02 D Expression 127
6.02 D Voice Reverb Level 68
6.02 D Voice Chorus Level 0
6.02 D Harmonic Content 0
6.02 D Release Time 0
6.02 D Attack Time 0
6.02 D Brightness -12
6.02 D Bank MSB 0
6.02 D Bank LSB 0
6.02 D Program Change [0,0,51] 287 Synth Strings 2 (XG ENSEMBLE)
6.02 D RPN MSB 0
6.03 D RPN LSB 0
6.03 D Data Entry MSB: Pitch Bend Range 2
6.03 D RPN MSB 0
6.03 D RPN LSB 1
6.03 D Data Entry MSB: Channel Fine Tuning 0
6.03 D RPN MSB 0
6.03 D RPN LSB 2
6.03 D Data Entry MSB: Channel Coarse Tuning 0
6.03 D Pitch Bend 0
6.03 E Voice Volume 127
6.03 E Modulation Wheel 0
6.03 E Voice Pan 64
6.03 E Expression 127
6.03 E Voice Reverb Level 40
6.03 E Voice Chorus Level 0
6.04 E Harmonic Content 0
6.04 E Release Time 0
6.04 E Attack Time 0
6.04 E Brightness 0
6.04 E Bank MSB 0
6.04 E Bank LSB 0
6.04 E Program Change [0,0,0] 134 Grand Piano (XG PIANO)
6.04 E RPN MSB 0
6.04 E RPN LSB 0
6.04 E Data Entry MSB: Pitch Bend Range 2
6.04 E RPN MSB 0
6.04 E RPN LSB 1
6.04 E Data Entry MSB: Channel Fine Tuning 0
6.04 E RPN MSB 0
6.04 E RPN LSB 2
6.05 E Data Entry MSB: Channel Coarse Tuning 0
6.05 E Pitch Bend 0
6.05 F Voice Volume 127
6.05 F Modulation Wheel 0
6.05 F Voice Pan 64
6.05 F Expression 127
6.05 F Voice Reverb Level 40
6.05 F Voice Chorus Level 0
6.05 F Harmonic Content 0
6.05 F Release Time 0
6.05 F Attack Time 0
6.05 F Brightness 0
6.05 F Bank MSB 0
6.05 F Bank LSB 0
6.05 F Program Change [0,0,0] 134 Grand Piano (XG PIANO)
6.06 F RPN MSB 0
6.06 F RPN LSB 0
6.06 F Data Entry MSB: Pitch Bend Range 2
6.06 F RPN MSB 0
6.06 F RPN LSB 1
6.06 F Data Entry MSB: Channel Fine Tuning 0
6.06 F RPN MSB 0
6.06 F RPN LSB 2
6.06 F Data Entry MSB: Channel Coarse Tuning 0
6.06 F Pitch Bend 0
6.07 0 Bank MSB 0
6.07 0 Bank LSB 0
6.07 0 Program Change [0,0,22] 205 Harmonica (XG ORGAN)
6.07 1 Bank MSB 0
6.07 1 Bank LSB 112
6.07 1 Program Change [0,112,3] 005 Honky-tonk Piano (PIANO)
6.07 2 Bank MSB 0
6.07 2 Bank LSB 112
6.07 2 Program Change [0,112,33] 046 Finger Bass (BASS)
6.07 0 Voice Volume 104
6.08 1 Voice Volume 65
6.08 2 Voice Volume 100
6.08 0 Voice Pan 64
6.08 1 Voice Pan 64
6.08 2 Voice Pan 64
6.08 0 Voice Reverb Level 28
6.08 1 Voice Reverb Level 32
6.08 2 Voice Reverb Level 8
6.08 0 Voice Chorus Level 0
6.08 1 Voice Chorus Level 0
6.09 2 Voice Chorus Level 0
6.09 0 RPN MSB 0
6.09 0 RPN LSB 0
6.09 0 Data Entry MSB: Pitch Bend Range 2
6.09 1 RPN MSB 0
6.09 1 RPN LSB 0
6.09 1 Data Entry MSB: Pitch Bend Range 2
6.09 2 RPN MSB 0
6.09 2 RPN LSB 0
6.09 2 Data Entry MSB: Pitch Bend Range 2
6.09 0 Pitch Bend 0
6.09 1 Pitch Bend 0
6.10 2 Pitch Bend 0
6.10 0 Release Time 0
6.10 1 Release Time 0
6.10 2 Release Time 0

Recorded another track, this time with a different tempo. The Main voice was voice 205 with octave -2, the dual voice was voice 005 with octave +2.


In [76]:
mf2 = mido.MidiFile('documents/data/user_song_tests/2track_2.mid')

In [79]:
trackprint(mf2.tracks[0])


0 <meta message time_signature numerator=4 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=500000 time=0>
0 GM System ON
0 Reverb Type 01(Hall1)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

The tempo is overwritten, and Whoops, I apparently overwrote the time signature as well.


In [81]:
mf2.tracks[1] == mf.tracks[1]


Out[81]:
True

In [82]:
trackprint(mf2.tracks[2])


0 Reverb Type 01(Hall1)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 4 Bank MSB 0
0 4 Bank LSB 0
0 4 Program Change [0,0,22] 205 Harmonica (XG ORGAN)
0 E Bank MSB 0
0 E Bank LSB 112
0 E Program Change [0,112,3] 005 Honky-tonk Piano (PIANO)
0 4 RPN MSB 0
0 4 RPN LSB 0
0 4 Data Entry MSB: Pitch Bend Range 2
0 4 RPN LSB 127
0 4 RPN MSB 127
0 E RPN MSB 0
0 E RPN LSB 0
0 E Data Entry MSB: Pitch Bend Range 2
0 E RPN LSB 127
0 E RPN MSB 127
0 4 Voice Reverb Level 28
0 4 Voice Chorus Level 0
0 4 [Control 94] 0
0 4 Voice Volume 104
0 4 Voice Pan 64
0 4 Expression 127
0 4 Release Time 0
0 4 Pedal Sustain OFF
0 E Voice Reverb Level 32
0 E Voice Chorus Level 0
0 E [Control 94] 0
0 E Voice Volume 65
0 E Voice Pan 64
0 E Expression 127
0 E Release Time 0
0 E Pedal Sustain OFF
0 polytouch channel=4 note=0 value=62 time=0
0 4 Pitch Bend 0
0 E Pitch Bend 0
0 4 Note 060(C3) 50
0 E Note 084(C5) 50
0 4 Note 072(C4) 51
0 E Note 096(C6) 51
7 4 Pedal Sustain ON
7 E Pedal Sustain ON
241 4 Note 072(C4) 0
241 E Note 096(C6) 0
270 4 Note 060(C3) 0
270 E Note 084(C5) 0
567 4 Note 074(D4) 73
567 E Note 098(D6) 73
567 4 Note 076(E4) 66
567 E Note 100(E6) 66
569 4 Note 062(D3) 50
569 E Note 086(D5) 50
573 4 Note 076(E4) 0
573 E Note 100(E6) 0
579 4 Pedal Sustain OFF
579 E Pedal Sustain OFF
615 4 Pedal Sustain ON
615 E Pedal Sustain ON
732 4 Note 062(D3) 0
732 E Note 086(D5) 0
751 4 Note 074(D4) 0
751 E Note 098(D6) 0
840 4 Note 057(A2) 41
840 E Note 081(A4) 41
846 4 Note 069(A3) 55
846 E Note 093(A5) 55
855 4 Pedal Sustain OFF
855 E Pedal Sustain OFF
882 4 Pedal Sustain ON
882 E Pedal Sustain ON
1003 4 Note 057(A2) 0
1003 E Note 081(A4) 0
1005 4 Note 069(A3) 0
1005 E Note 093(A5) 0
1114 4 Pedal Sustain OFF
1114 E Pedal Sustain OFF
1116 4 Note 072(C4) 62
1116 E Note 096(C6) 62
1116 4 Note 060(C3) 59
1116 E Note 084(C5) 59
1130 4 Pedal Sustain ON
1130 E Pedal Sustain ON
1413 4 Note 060(C3) 0
1413 E Note 084(C5) 0
1415 4 Note 071(B3) 62
1415 E Note 095(B5) 62
1416 4 Note 072(C4) 0
1416 E Note 096(C6) 0
1418 4 Note 059(B2) 35
1418 E Note 083(B4) 35
1445 4 Pedal Sustain OFF
1445 E Pedal Sustain OFF
1480 4 Pedal Sustain ON
1480 E Pedal Sustain ON
1550 4 Note 059(B2) 0
1550 E Note 083(B4) 0
1566 4 Note 071(B3) 0
1566 E Note 095(B5) 0
1570 4 Note 060(C3) 39
1570 E Note 084(C5) 39
1572 4 Note 069(A3) 45
1572 E Note 093(A5) 45
1595 4 Note 060(C3) 0
1595 E Note 084(C5) 0
1646 4 Note 069(A3) 0
1646 E Note 093(A5) 0
1671 4 Note 060(C3) 56
1671 E Note 084(C5) 56
1672 4 Note 072(C4) 66
1672 E Note 096(C6) 66
1674 4 Pedal Sustain OFF
1674 E Pedal Sustain OFF
1693 4 Pedal Sustain ON
1693 E Pedal Sustain ON
1817 4 Note 060(C3) 0
1817 E Note 084(C5) 0
1817 4 Note 072(C4) 0
1817 E Note 096(C6) 0
2836 4 Note 060(C3) 42
2836 E Note 084(C5) 42
2837 4 Pedal Sustain OFF
2837 E Pedal Sustain OFF
2840 4 Note 072(C4) 63
2840 E Note 096(C6) 63
2862 4 Pedal Sustain ON
2862 E Pedal Sustain ON
3028 4 Note 072(C4) 0
3028 E Note 096(C6) 0
3114 4 Pedal Sustain OFF
3114 E Pedal Sustain OFF
3115 4 Note 076(E4) 66
3115 E Note 100(E6) 66
3143 4 Pedal Sustain ON
3143 E Pedal Sustain ON
3225 4 Note 060(C3) 0
3225 E Note 084(C5) 0
3258 4 Note 076(E4) 0
3258 E Note 100(E6) 0
3569 4 Pedal Sustain OFF
3569 E Pedal Sustain OFF
3590 4 Pedal Sustain ON
3590 E Pedal Sustain ON
4065 4 Note 076(E4) 66
4065 E Note 100(E6) 66
4102 4 Note 076(E4) 0
4102 E Note 100(E6) 0
4150 4 Note 076(E4) 62
4150 E Note 100(E6) 62
4183 4 Note 076(E4) 0
4183 E Note 100(E6) 0
4262 4 Pedal Sustain OFF
4262 E Pedal Sustain OFF
4281 4 Pedal Sustain ON
4281 E Pedal Sustain ON
4507 4 Pedal Sustain OFF
4507 E Pedal Sustain OFF
4507 4 Note 060(C3) 46
4508 4 Note 072(C4) 59
4538 4 Pedal Sustain ON
4538 E Pedal Sustain ON
4814 4 Note 072(C4) 0
4831 4 Note 060(C3) 0
5157 4 Note 077(F4) 55
5157 4 Note 065(F3) 52
5160 4 Pedal Sustain OFF
5160 E Pedal Sustain OFF
5191 4 Pedal Sustain ON
5191 E Pedal Sustain ON
5320 4 Note 065(F3) 0
5433 4 Note 064(E3) 56
5433 4 Pedal Sustain OFF
5433 E Pedal Sustain OFF
5435 4 Note 076(E4) 70
5444 4 Note 077(F4) 0
5464 4 Pedal Sustain ON
5464 E Pedal Sustain ON
5628 4 Note 064(E3) 0
5635 4 Note 076(E4) 0
5715 4 Note 065(F3) 67
5715 4 Note 077(F4) 69
5715 4 Pedal Sustain OFF
5715 E Pedal Sustain OFF
5742 4 Pedal Sustain ON
5742 E Pedal Sustain ON
5899 4 Note 065(F3) 0
6001 4 Pedal Sustain OFF
6001 E Pedal Sustain OFF
6012 4 Note 067(G3) 66
6015 4 Note 079(G4) 78
6023 4 Note 077(F4) 0
6031 4 Pedal Sustain ON
6031 E Pedal Sustain ON
6190 4 Note 067(G3) 0
6206 4 Note 079(G4) 0
6299 4 Note 062(D3) 60
6299 4 Note 074(D4) 72
6304 4 Pedal Sustain OFF
6304 E Pedal Sustain OFF
6333 4 Pedal Sustain ON
6333 E Pedal Sustain ON
6507 4 Note 074(D4) 0
6509 4 Note 062(D3) 0
6906 4 Note 060(C3) 58
6907 4 Pedal Sustain OFF
6907 E Pedal Sustain OFF
6912 4 Note 072(C4) 38
6938 4 Pedal Sustain ON
6938 E Pedal Sustain ON
7100 4 Note 060(C3) 0
7114 4 Note 072(C4) 0
7181 4 Note 055(G2) 64
7182 4 Note 067(G3) 79
7183 4 Pedal Sustain OFF
7183 E Pedal Sustain OFF
7208 4 Pedal Sustain ON
7208 E Pedal Sustain ON
7366 4 Note 067(G3) 0
7369 4 Note 055(G2) 0
7451 4 Note 053(F2) 70
7464 4 Pedal Sustain OFF
7464 E Pedal Sustain OFF
7494 4 Pedal Sustain ON
7494 E Pedal Sustain ON
7640 4 Note 077(F4) 49
7640 4 Note 053(F2) 0
7736 4 Note 048(C2) 55
7738 4 Note 076(E4) 55
7739 4 Note 067(G3) 55
7740 4 Pedal Sustain OFF
7740 E Pedal Sustain OFF
7743 4 Note 077(F4) 0
7771 4 Pedal Sustain ON
7771 E Pedal Sustain ON
7912 4 Note 067(G3) 0
7913 4 Note 048(C2) 0
7914 4 Note 076(E4) 0
8032 4 Note 053(F2) 40
8032 4 Pedal Sustain OFF
8032 E Pedal Sustain OFF
8036 4 Note 069(A3) 69
8059 4 Pedal Sustain ON
8059 E Pedal Sustain ON
8242 4 Note 069(A3) 0
8247 4 Note 053(F2) 0
8312 4 Pedal Sustain OFF
8312 E Pedal Sustain OFF
8313 4 Note 074(D4) 64
8313 4 Note 055(G2) 59
8339 4 Pedal Sustain ON
8339 E Pedal Sustain ON
8530 4 Note 055(G2) 0
8567 4 Note 074(D4) 0
8639 4 Pedal Sustain OFF
8639 E Pedal Sustain OFF
8658 4 Pedal Sustain ON
8658 E Pedal Sustain ON
8915 4 Note 048(C2) 58
8915 E Note 072(C4) 58
8915 4 Note 072(C4) 45
8915 E Note 096(C6) 45
8917 4 Note 060(C3) 47
8917 E Note 084(C5) 47
8917 4 Note 064(E3) 58
8917 E Note 088(E5) 58
8917 4 Note 067(G3) 57
8917 E Note 091(G5) 57
8917 4 Pedal Sustain OFF
8917 E Pedal Sustain OFF
8942 4 Pedal Sustain ON
8942 E Pedal Sustain ON
9026 4 Note 067(G3) 0
9026 E Note 091(G5) 0
9029 4 Note 064(E3) 0
9029 E Note 088(E5) 0
9030 4 Note 072(C4) 0
9030 E Note 096(C6) 0
9032 4 Note 048(C2) 0
9032 E Note 072(C4) 0
9034 4 Note 060(C3) 0
9034 E Note 084(C5) 0
9163 4 Pedal Sustain OFF
9163 E Pedal Sustain OFF
9507 4 Note 065(F3) 52
9507 E Note 089(F5) 52
9508 4 Note 077(F4) 50
9508 E Note 101(F6) 50
9791 4 Note 077(F4) 0
9791 E Note 101(F6) 0
9814 4 Note 079(G4) 67
9814 E Note 103(G6) 67
10023 4 Note 065(F3) 0
10023 E Note 089(F5) 0
10063 4 Note 065(F3) 44
10063 E Note 089(F5) 44
10064 4 Note 077(F4) 69
10064 E Note 101(F6) 69
10064 4 Note 079(G4) 0
10064 E Note 103(G6) 0
10321 4 Note 076(E4) 66
10321 E Note 100(E6) 66
10332 4 Note 077(F4) 0
10332 E Note 101(F6) 0
10428 4 Pedal Sustain ON
10428 E Pedal Sustain ON
10487 4 Note 076(E4) 0
10487 E Note 100(E6) 0
10489 4 Note 065(F3) 0
10489 E Note 089(F5) 0
10603 4 Pedal Sustain OFF
10603 E Pedal Sustain OFF
10605 4 Note 069(A3) 59
10605 E Note 093(A5) 59
10605 4 Note 050(D2) 40
10605 E Note 074(D4) 40
10605 4 Note 066(F#3) 43
10605 E Note 090(F#5) 43
10607 4 Note 062(D3) 42
10607 E Note 086(D5) 42
10631 4 Pedal Sustain ON
10631 E Pedal Sustain ON
10748 4 Note 066(F#3) 0
10748 E Note 090(F#5) 0
10755 4 Note 062(D3) 0
10755 E Note 086(D5) 0
10755 4 Note 050(D2) 0
10755 E Note 074(D4) 0
10758 4 Note 069(A3) 0
10758 E Note 093(A5) 0
10891 4 Note 055(G2) 53
10891 E Note 079(G4) 53
10895 4 Note 074(D4) 39
10895 E Note 098(D6) 39
10895 4 Note 065(F3) 56
10895 E Note 089(F5) 56
10895 4 Note 071(B3) 51
10895 E Note 095(B5) 51
10895 4 Pedal Sustain OFF
10895 E Pedal Sustain OFF
10921 4 Pedal Sustain ON
10921 E Pedal Sustain ON
10978 4 Note 055(G2) 0
10978 E Note 079(G4) 0
11007 4 Note 071(B3) 0
11007 E Note 095(B5) 0
11010 4 Note 074(D4) 0
11010 E Note 098(D6) 0
11013 4 Note 065(F3) 0
11013 E Note 089(F5) 0
11194 4 Note 067(G3) 41
11194 E Note 091(G5) 41
11194 4 Note 072(C4) 36
11194 E Note 096(C6) 36
11194 4 Note 064(E3) 39
11194 E Note 088(E5) 39
11199 4 Pedal Sustain OFF
11199 E Pedal Sustain OFF
11230 4 Pedal Sustain ON
11230 E Pedal Sustain ON
11330 4 Note 072(C4) 0
11330 E Note 096(C6) 0
11330 4 Note 067(G3) 0
11330 E Note 091(G5) 0
11335 4 Note 064(E3) 0
11335 E Note 088(E5) 0
11481 4 Note 065(F3) 52
11481 E Note 089(F5) 52
11481 4 Pedal Sustain OFF
11481 E Pedal Sustain OFF
11481 4 Note 067(G3) 58
11481 E Note 091(G5) 58
11481 4 Note 071(B3) 61
11481 E Note 095(B5) 61
11502 4 Pedal Sustain ON
11502 E Pedal Sustain ON
11717 4 Pedal Sustain OFF
11717 E Pedal Sustain OFF
11730 4 Pedal Sustain ON
11730 E Pedal Sustain ON
11800 4 Note 065(F3) 0
11800 E Note 089(F5) 0
11823 4 Note 067(G3) 0
11823 E Note 091(G5) 0
11888 4 Note 071(B3) 0
11888 E Note 095(B5) 0
12024 4 Pedal Sustain OFF
12024 E Pedal Sustain OFF
12027 4 Note 048(C2) 43
12027 E Note 072(C4) 43
12028 4 Note 072(C4) 46
12028 E Note 096(C6) 46
12028 4 Note 060(C3) 40
12028 E Note 084(C5) 40
12030 4 Note 067(G3) 52
12030 E Note 091(G5) 52
12031 4 Note 064(E3) 41
12031 E Note 088(E5) 41
12068 4 Pedal Sustain ON
12068 E Pedal Sustain ON
12185 4 Note 072(C4) 0
12185 E Note 096(C6) 0
12185 4 Note 067(G3) 0
12185 E Note 091(G5) 0
12188 4 Note 048(C2) 0
12188 E Note 072(C4) 0
12189 4 Note 064(E3) 0
12189 E Note 088(E5) 0
12190 4 Note 060(C3) 0
12190 E Note 084(C5) 0
13452 4 Pedal Sustain OFF
13452 E Pedal Sustain OFF
13528 4 All Sound OFF
13528 E All Sound OFF
13528 <meta message end_of_track time=0>

The Main voice was recorded onto channel 4 (5), and dual voice onto channel E (15).

The Dual notes are recorded with +2 octave on them, but the main voice is not. Instead, it's got a polytouch message with value 62. Hmmm.

What happens if we try to change the voice while recording?

We can't use the function menus, but what about scrolling the voice. Do the defaults get set?

What about using values saved in the bank registers?

What happens if we change the reverb and chorus type?

What about transpose?


In [91]:
!python extractor.py documents/data/user_song_tests/2track.syx -R 2,2 3,2


Bank 2, Button 2:
       Style number: 050
      Accompaniment: OFF
           Main A/B: Main B
              Tempo: 082
  Main Voice number: 078
  Dual Voice number: 076
 Split Voice number: 046
            Harmony:  ON
               Dual:  ON
              Split: OFF
       Style Volume: 100
          Transpose:  00
   Pitch Bend Range:  02
        Split Point: 054(F#2)
          M. Volume: 103
          M. Octave:   0
             M. Pan: 064
    M. Reverb Level: 040
    M. Chorus Level: 000
          D. Volume: 066
          D. Octave:  -1
             D. Pan: 064
    D. Reverb Level: 040
    D. Chorus Level: 020
          S. Volume: 100
          S. Octave:   0
             S. Pan: 064
    S. Reverb Level: 008
    S. Chorus Level: 000
        Reverb Type: 03(Hall3)
        Chorus Type: 1(Chorus1)
            Sustain: OFF
       Harmony Type: 01(Duet)
     Harmony Volume: 080

Bank 3, Button 2:
       Style number: 092
      Accompaniment:  ON
           Main A/B: Main A
              Tempo: 080
  Main Voice number: 060
  Dual Voice number: 201
 Split Voice number: 003
            Harmony: OFF
               Dual: OFF
              Split:  ON
       Style Volume: 050
          Transpose:  03
   Pitch Bend Range:  05
        Split Point: 053(F2)
          M. Volume: 054
          M. Octave:  -1
             M. Pan: 092
    M. Reverb Level: 078
    M. Chorus Level: 103
          D. Volume: 095
          D. Octave:   2
             D. Pan: 048
    D. Reverb Level: 017
    D. Chorus Level: 082
          S. Volume: 108
          S. Octave:   0
             S. Pan: 064
    S. Reverb Level: 032
    S. Chorus Level: 127
        Reverb Type: ---(Room)
        Chorus Type: ---(Celeste)
            Sustain:  ON
       Harmony Type: 06(Trill1/4)
     Harmony Volume: 085

Main Voice M Volume M Octave M Reverb Lv M Chorus Lv Dual Voice D Volume D Octave D Reverb Lv D Chorus Lv
085 Trombone Section 110 -1 34 0 088 Brass Section 90 -1 32 0
086 French Horn 80 0 40 0 084 Trombone 70 0 36 0
087 Tuba 127 -2 18 0 045 Acoustic Bass 84 -2 0 0
119 Music Box 100 +1 20 0 108 SweetHeaven 60 0 42 0
075 Baritone Sax 112 -2 28 0 088 Brass Section 100 -1 24 0
025 16'+2' Organ 70 -1 28 34 026 16'+4' Organ 30 +1 28 0

Let's record track 4, starting with the chorus and reverb types set to something different. Then, cycle through voices 085, 086, 087, 119, 075, 025, with dual ON.


In [93]:
!python collect.py -g DGX > documents/data/user_song_tests/3track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [94]:
!python extractor.py documents/data/user_song_tests/3track.syx -S 2 -s 2 -n documents/data/user_song_tests/3track_{}.mid


               Recorded   Duration       Size
 User Song 2       True        143       5578
     Track A      False          0         99
     Track 1      False          0          0
     Track 2      False          0          0
     Track 3       True        127       1999
     Track 4       True        133       1773
     Track 5       True        143       1693


In [95]:
mf3 = mido.MidiFile('documents/data/user_song_tests/3track_2.mid')

In [96]:
mf3.tracks[1] == mf2.tracks[1]


Out[96]:
True

In [97]:
mf3.tracks[3] == mf2.tracks[2]


Out[97]:
True

In [99]:
trackprint(mf3.tracks[0])


0 <meta message time_signature numerator=1 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=454528 time=0>
0 GM System ON
0 Reverb Type 08(Plate1)
0 Chorus Type 4(Flanger2)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

The reverb and chorus type got overwritten. Also, I tried setting the time signature to 0, and it's at 1/4, which makes sense.


In [103]:
trackprint(mf3.tracks[2])


0 Reverb Type 08(Plate1)
0 Chorus Type 4(Flanger2)
0 <meta message text text=' YAMAHA ' time=0>
0 3 Bank MSB 0
0 3 Bank LSB 112
0 3 Program Change [0,112,62] 091 Synth Brass (BRASS)
0 D Bank MSB 0
0 D Bank LSB 112
0 D Program Change [0,112,79] 100 Ocarina (FLUTE)
0 3 RPN MSB 0
0 3 RPN LSB 0
0 3 Data Entry MSB: Pitch Bend Range 2
0 3 RPN LSB 127
0 3 RPN MSB 127
0 D RPN MSB 0
0 D RPN LSB 0
0 D Data Entry MSB: Pitch Bend Range 2
0 D RPN LSB 127
0 D RPN MSB 127
0 3 Voice Reverb Level 32
0 3 Voice Chorus Level 54
0 3 [Control 94] 0
0 3 Voice Volume 100
0 3 Voice Pan 43
0 3 Expression 127
0 3 Release Time 0
0 3 Pedal Sustain OFF
0 D Voice Reverb Level 87
0 D Voice Chorus Level 80
0 D [Control 94] 0
0 D Voice Volume 40
0 D Voice Pan 86
0 D Expression 127
0 D Release Time 0
0 D Pedal Sustain OFF
0 polytouch channel=3 note=0 value=64 time=0
0 3 Pitch Bend 0
0 D Pitch Bend 0
0 3 Note 053(F2) 39
0 D Note 041(F1) 39
0 3 Note 072(C4) 45
0 D Note 060(C3) 45
0 3 Note 077(F4) 42
0 D Note 065(F3) 42
0 3 Note 069(A3) 44
0 D Note 057(A2) 44
0 3 Note 065(F3) 44
0 D Note 053(F2) 44
98 3 Note 065(F3) 0
98 D Note 053(F2) 0
99 3 Note 053(F2) 0
99 D Note 041(F1) 0
101 3 Note 069(A3) 0
101 D Note 057(A2) 0
101 3 Note 077(F4) 0
101 D Note 065(F3) 0
102 3 Note 072(C4) 0
102 D Note 060(C3) 0
1105 3 Note 077(F4) 61
1105 D Note 065(F3) 61
1105 3 Note 053(F2) 52
1105 D Note 041(F1) 52
1105 3 Note 065(F3) 53
1105 D Note 053(F2) 53
1105 3 Note 069(A3) 69
1105 D Note 057(A2) 69
1105 3 Note 072(C4) 59
1105 D Note 060(C3) 59
1175 3 Pedal Sustain ON
1175 D Pedal Sustain ON
1188 3 Note 069(A3) 0
1188 D Note 057(A2) 0
1190 3 Note 072(C4) 0
1190 D Note 060(C3) 0
1193 3 Note 077(F4) 0
1193 D Note 065(F3) 0
1194 3 Note 053(F2) 0
1194 D Note 041(F1) 0
1197 3 Note 065(F3) 0
1197 D Note 053(F2) 0
1365 3 Pedal Sustain OFF
1365 D Pedal Sustain OFF
1371 3 Note 048(C2) 61
1371 D Note 036(C1) 61
1372 3 Note 072(C4) 56
1372 D Note 060(C3) 56
1372 3 Note 060(C3) 56
1372 D Note 048(C2) 56
1415 3 Pedal Sustain ON
1415 D Pedal Sustain ON
1461 3 Pedal Sustain OFF
1461 D Pedal Sustain OFF
1483 3 Note 060(C3) 0
1483 D Note 048(C2) 0
1486 3 Note 072(C4) 0
1486 D Note 060(C3) 0
1491 3 Note 048(C2) 0
1491 D Note 036(C1) 0
1676 3 Note 072(C4) 40
1676 D Note 060(C3) 40
1733 3 Pedal Sustain ON
1733 D Pedal Sustain ON
1745 3 Note 048(C2) 45
1745 D Note 036(C1) 45
1749 3 Note 060(C3) 35
1749 D Note 048(C2) 35
1851 3 Note 060(C3) 0
1851 D Note 048(C2) 0
1904 3 Note 072(C4) 0
1904 D Note 060(C3) 0
1964 3 Note 060(C3) 55
1964 D Note 048(C2) 55
1965 3 Note 072(C4) 66
1965 D Note 060(C3) 66
1979 3 Note 048(C2) 0
1979 D Note 036(C1) 0
1986 3 Note 060(C3) 0
1986 D Note 048(C2) 0
1987 3 Note 072(C4) 0
1987 D Note 060(C3) 0
2237 3 Pedal Sustain OFF
2237 D Pedal Sustain OFF
2248 3 Note 077(F4) 47
2248 D Note 065(F3) 47
2249 3 Note 069(A3) 58
2249 D Note 057(A2) 58
2250 3 Note 065(F3) 40
2250 D Note 053(F2) 40
2250 3 Note 072(C4) 53
2250 D Note 060(C3) 53
2251 3 Note 053(F2) 34
2251 D Note 041(F1) 34
2290 3 Pedal Sustain ON
2290 D Pedal Sustain ON
2418 3 Note 077(F4) 0
2418 D Note 065(F3) 0
2438 3 Note 053(F2) 0
2438 D Note 041(F1) 0
2439 3 Note 072(C4) 0
2439 D Note 060(C3) 0
2441 3 Note 065(F3) 0
2441 D Note 053(F2) 0
2442 3 Note 069(A3) 0
2442 D Note 057(A2) 0
2827 3 Pedal Sustain OFF
2827 D Pedal Sustain OFF
2834 3 Note 048(C2) 59
2834 D Note 036(C1) 59
2835 3 Note 072(C4) 58
2835 D Note 060(C3) 58
2835 3 Note 067(G3) 57
2835 D Note 055(G2) 57
2836 3 Note 076(E4) 50
2836 D Note 064(E3) 50
2836 3 Note 060(C3) 47
2836 D Note 048(C2) 47
2873 3 Pedal Sustain ON
2873 D Pedal Sustain ON
2960 3 Note 072(C4) 0
2960 D Note 060(C3) 0
2960 3 Note 076(E4) 0
2960 D Note 064(E3) 0
2961 3 Note 048(C2) 0
2961 D Note 036(C1) 0
2961 3 Note 067(G3) 0
2961 D Note 055(G2) 0
2961 3 Note 060(C3) 0
2961 D Note 048(C2) 0
3006 3 Pedal Sustain OFF
3006 D Pedal Sustain OFF
3310 3 Bank MSB 0
3310 3 Bank LSB 113
3310 3 Program Change [0,113,57] 085 Trombone Section (TRUMPET)
3310 polytouch channel=3 note=0 value=63 time=0
3310 D Bank MSB 0
3310 D Bank LSB 112
3310 D Program Change [0,112,61] 088 Brass Section (BRASS)
3326 3 Voice Volume 110
3326 3 Voice Pan 64
3326 3 Voice Reverb Level 34
3326 3 Voice Chorus Level 0
3326 D Voice Volume 90
3326 D Voice Pan 64
3326 D Voice Reverb Level 32
3326 D Voice Chorus Level 0
3452 3 Note 048(C2) 51
3452 D Note 036(C1) 51
3452 3 Pedal Sustain ON
3452 D Pedal Sustain ON
3527 3 Note 060(C3) 40
3527 D Note 048(C2) 40
3530 3 Note 048(C2) 0
3530 D Note 036(C1) 0
3560 3 Pedal Sustain OFF
3560 D Pedal Sustain OFF
3613 3 Note 067(G3) 67
3613 D Note 055(G2) 67
3614 3 Note 060(C3) 0
3614 D Note 048(C2) 0
3697 3 Note 072(C4) 59
3697 D Note 060(C3) 59
3697 3 Note 067(G3) 0
3697 D Note 055(G2) 0
3788 3 Note 076(E4) 56
3788 D Note 064(E3) 56
3790 3 Note 072(C4) 0
3790 D Note 060(C3) 0
3892 3 Note 074(D4) 55
3892 D Note 062(D3) 55
3903 3 Note 076(E4) 0
3903 D Note 064(E3) 0
4193 3 Note 074(D4) 0
4193 D Note 062(D3) 0
4235 3 Note 076(E4) 73
4235 D Note 064(E3) 73
4253 3 Note 074(D4) 59
4253 D Note 062(D3) 59
4257 3 Note 076(E4) 0
4257 D Note 064(E3) 0
4262 3 Note 072(C4) 58
4262 D Note 060(C3) 58
4271 3 Note 074(D4) 0
4271 D Note 062(D3) 0
4419 3 Pedal Sustain ON
4419 D Pedal Sustain ON
4428 3 Note 072(C4) 0
4428 D Note 060(C3) 0
4561 3 Pedal Sustain OFF
4561 D Pedal Sustain OFF
4830 3 Bank MSB 0
4830 3 Bank LSB 112
4830 3 Program Change [0,112,60] 086 French Horn (TRUMPET)
4830 polytouch channel=3 note=0 value=64 time=0
4830 D Bank MSB 0
4830 D Bank LSB 112
4830 D Program Change [0,112,57] 084 Trombone (TRUMPET)
4851 3 Voice Volume 80
4851 3 Voice Reverb Level 40
4851 D Voice Volume 70
4851 D Voice Reverb Level 36
4907 3 Pedal Sustain ON
4907 D Pedal Sustain ON
4928 3 Pedal Sustain OFF
4928 D Pedal Sustain OFF
5157 3 Note 060(C3) 53
5157 D Note 060(C3) 53
5251 3 Note 072(C4) 66
5251 D Note 072(C4) 66
5337 3 Note 076(E4) 73
5337 D Note 076(E4) 73
5342 3 Note 072(C4) 0
5342 D Note 072(C4) 0
5438 3 Note 074(D4) 73
5438 D Note 074(D4) 73
5441 3 Note 076(E4) 0
5441 D Note 076(E4) 0
5445 3 Note 048(C2) 33
5445 D Note 048(C2) 33
5451 3 Note 060(C3) 0
5451 D Note 060(C3) 0
5485 3 Note 048(C2) 0
5485 D Note 048(C2) 0
5521 3 Note 072(C4) 70
5521 D Note 072(C4) 70
5529 3 Note 074(D4) 0
5529 D Note 074(D4) 0
5605 3 Note 074(D4) 76
5605 D Note 074(D4) 76
5610 3 Note 072(C4) 0
5610 D Note 072(C4) 0
5716 3 Note 072(C4) 73
5716 D Note 072(C4) 73
5718 3 Note 074(D4) 0
5718 D Note 074(D4) 0
5925 3 Note 072(C4) 0
5925 D Note 072(C4) 0
6005 3 Note 048(C2) 46
6005 D Note 048(C2) 46
6005 3 Note 060(C3) 40
6005 D Note 060(C3) 40
6007 3 Note 072(C4) 71
6007 D Note 072(C4) 71
6098 3 Note 067(G3) 65
6098 D Note 067(G3) 65
6102 3 Note 072(C4) 0
6102 D Note 072(C4) 0
6157 3 Note 060(C3) 0
6157 D Note 060(C3) 0
6188 3 Note 067(G3) 0
6188 D Note 067(G3) 0
6209 3 Note 048(C2) 0
6209 D Note 048(C2) 0
6368 3 Bank MSB 0
6368 3 Bank LSB 112
6368 3 Program Change [0,112,58] 087 Tuba (TRUMPET)
6368 polytouch channel=3 note=0 value=62 time=0
6368 D Bank MSB 0
6368 D Bank LSB 112
6368 D Program Change [0,112,32] 045 Acoustic Bass (BASS)
6388 3 Voice Volume 127
6388 3 Voice Reverb Level 18
6388 D Voice Volume 84
6388 D Voice Reverb Level 0
6616 3 Note 060(C3) 38
6616 D Note 036(C1) 38
6619 3 Note 072(C4) 60
6619 D Note 048(C2) 60
6731 3 Note 060(C3) 0
6731 D Note 036(C1) 0
6788 3 Note 071(B3) 69
6788 D Note 047(B1) 69
6795 3 Note 072(C4) 0
6795 D Note 048(C2) 0
6871 3 Note 071(B3) 0
6871 D Note 047(B1) 0
6894 3 Note 072(C4) 76
6894 D Note 048(C2) 76
7122 3 Note 072(C4) 0
7122 D Note 048(C2) 0
7180 3 Note 048(C2) 51
7180 D Note 024(C0) 51
7181 3 Note 072(C4) 47
7181 D Note 048(C2) 47
7181 3 Note 060(C3) 49
7181 D Note 036(C1) 49
7182 3 Note 064(E3) 52
7182 D Note 040(E1) 52
7235 3 Pedal Sustain ON
7235 D Pedal Sustain ON
7286 3 Pedal Sustain OFF
7286 D Pedal Sustain OFF
7418 3 Note 064(E3) 0
7418 D Note 040(E1) 0
7422 3 Note 048(C2) 0
7422 D Note 024(C0) 0
7423 3 Note 072(C4) 0
7423 D Note 048(C2) 0
7424 3 Note 060(C3) 0
7424 D Note 036(C1) 0
7644 3 Bank MSB 0
7644 3 Bank LSB 112
7644 3 Program Change [0,112,10] 119 Music Box (PERCUSSION)
7644 polytouch channel=3 note=0 value=65 time=0
7644 D Bank MSB 0
7644 D Bank LSB 118
7644 D Program Change [0,118,88] 108 SweetHeaven (SYNTH PAD)
7658 3 Voice Volume 100
7658 3 Voice Reverb Level 20
7658 D Voice Volume 60
7658 D Voice Reverb Level 42
7736 3 Pedal Sustain ON
7736 D Pedal Sustain ON
7768 3 Note 048(C2) 30
7768 D Note 048(C2) 30
7814 3 Pedal Sustain OFF
7814 D Pedal Sustain OFF
7832 3 Note 060(C3) 60
7832 D Note 060(C3) 60
7834 3 Note 048(C2) 0
7834 D Note 048(C2) 0
7879 3 Pedal Sustain ON
7879 D Pedal Sustain ON
7896 3 Pedal Sustain OFF
7896 D Pedal Sustain OFF
7908 3 Note 067(G3) 68
7908 D Note 067(G3) 68
7911 3 Note 060(C3) 0
7911 D Note 060(C3) 0
7963 3 Note 067(G3) 0
7963 D Note 067(G3) 0
8039 3 Note 072(C4) 69
8039 D Note 072(C4) 69
8141 3 Note 072(C4) 0
8141 D Note 072(C4) 0
8319 3 Note 069(A3) 69
8320 3 Note 060(C3) 56
8322 3 Note 059(B2) 52
8328 3 Note 059(B2) 0
8403 3 Note 069(A3) 0
8404 3 Note 065(F3) 68
8419 3 Note 060(C3) 0
8483 3 Note 065(F3) 0
8495 3 Note 069(A3) 66
8592 3 Note 067(G3) 60
8593 3 Note 062(D3) 47
8593 3 Note 069(A3) 0
8594 3 Note 050(D2) 39
8772 3 Note 067(G3) 0
8845 3 Note 050(D2) 0
8845 3 Note 062(D3) 0
9151 3 Bank MSB 0
9151 3 Bank LSB 112
9151 3 Program Change [0,112,67] 075 Baritone Sax (SAXOPHONE)
9151 polytouch channel=3 note=0 value=62 time=0
9151 D Bank MSB 0
9151 D Bank LSB 112
9151 D Program Change [0,112,61] 088 Brass Section (BRASS)
9170 3 Voice Volume 112
9170 3 Voice Reverb Level 28
9170 D Voice Volume 100
9170 D Voice Reverb Level 24
9747 3 Note 077(F4) 59
10066 3 Note 048(C2) 55
10066 3 Note 060(C3) 41
10069 3 Note 076(E4) 71
10070 3 Note 072(C4) 53
10078 3 Note 077(F4) 0
10196 3 Note 048(C2) 0
10200 3 Note 060(C3) 0
10204 3 Note 076(E4) 0
10205 3 Note 072(C4) 0
11199 3 Bank MSB 0
11199 3 Bank LSB 118
11199 3 Program Change [0,118,16] 025 16'+2' Organ (ORGAN)
11199 polytouch channel=3 note=0 value=63 time=0
11199 D Bank MSB 0
11199 D Bank LSB 119
11199 D Program Change [0,119,16] 026 16'+4' Organ (ORGAN)
11203 3 Note 055(G2) 41
11205 3 Note 072(C4) 38
11205 3 Note 067(G3) 48
11205 3 Note 076(E4) 50
11210 3 Voice Volume 70
11210 3 Voice Chorus Level 34
11210 D Voice Volume 30
11210 D Voice Reverb Level 28
11331 3 Note 076(E4) 0
11333 3 Note 067(G3) 0
11337 3 Note 055(G2) 0
11378 3 Note 072(C4) 0
11475 3 Note 055(G2) 38
11481 3 Note 071(B3) 61
11481 3 Note 065(F3) 72
11481 3 Note 074(D4) 38
11594 3 Note 071(B3) 0
11595 3 Note 065(F3) 0
11597 3 Note 074(D4) 0
11598 3 Note 055(G2) 0
11749 3 Note 048(C2) 55
11750 3 Note 072(C4) 47
11752 3 Note 064(E3) 52
11752 3 Note 067(G3) 55
11754 3 Note 060(C3) 37
11970 3 Note 067(G3) 0
11971 3 Note 064(E3) 0
11971 3 Note 072(C4) 0
11974 3 Note 060(C3) 0
11979 3 Note 048(C2) 0
12852 3 All Sound OFF
12852 D All Sound OFF
12852 <meta message end_of_track time=0>

Okay, it definitely looks like the default settings get set. The Dual octave affects the dual notes directly, while the Main octave is signalled by a polytouch message, with offset from 64. The program changes etc. are recorded for both main and dual, even if dual is not activated. Transpose is completely ignored.

Question: Does the polytouch message work for songs in the flash memory?

What happens if we send a GM_ON or set the reverb in the middle? Does that reset the reverb and chorus types? How about regular reverb chorus messages?

Also, it seems that the durations are indeed in measures, and affected by the time signature on the time track.

Does setting LOCAL have any effect?


In [104]:
o = mido.open_output('DGX-505 MIDI 1')

In [7]:
from commons.messages import controls
import time

In [112]:
def test():
    o.send(controls.reverb_type(00, 00))
    time.sleep(2)
    o.send(controls.chorus_type(00, 00))
    time.sleep(4)
    o.send(controls.gm_on())
    time.sleep(2)
    o.send(controls.local(False))
    time.sleep(5)
    o.send(controls.local(True))
    time.sleep(3)
    o.send(controls.master_tune_val(100))
    time.sleep(3)
    o.send(controls.xg_reset())

In [113]:
test()

In [114]:
!python collect.py -g DGX > documents/data/user_song_tests/4track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [115]:
!python extractor.py documents/data/user_song_tests/4track.syx -S 2 -s 2 -n documents/data/user_song_tests/4track_{}.mid


               Recorded   Duration       Size
 User Song 2       True          9       7524
     Track A      False          0         99
     Track 1      False          0          0
     Track 2       True          6       1946
     Track 3       True          8       1999
     Track 4       True          8       1773
     Track 5       True          9       1693


In [116]:
o.close()

In [18]:
mf4 = mido.MidiFile('documents/data/user_song_tests/4track_2.mid')

In [120]:
mf4.tracks[2:] == mf3.tracks[1:]


Out[120]:
True

In [121]:
trackprint(mf4.tracks[0])


0 <meta message time_signature numerator=15 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=600000 time=0>
0 GM System ON
0 Reverb Type 09(Plate2)
0 Chorus Type 3(Flanger1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

In [122]:
trackprint(mf4.tracks[1])


0 Reverb Type 09(Plate2)
0 Chorus Type 3(Flanger1)
0 <meta message text text=' YAMAHA ' time=0>
0 1 Bank MSB 0
0 1 Bank LSB 113
0 1 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
0 B Bank MSB 0
0 B Bank LSB 112
0 B Program Change [0,112,48] 054 String Ensemble (STRINGS)
0 1 RPN MSB 0
0 1 RPN LSB 0
0 1 Data Entry MSB: Pitch Bend Range 5
0 1 RPN LSB 127
0 1 RPN MSB 127
0 B RPN MSB 0
0 B RPN LSB 0
0 B Data Entry MSB: Pitch Bend Range 5
0 B RPN LSB 127
0 B RPN MSB 127
0 1 Voice Reverb Level 20
0 1 Voice Chorus Level 0
0 1 [Control 94] 0
0 1 Voice Volume 110
0 1 Voice Pan 64
0 1 Expression 127
0 1 Release Time 46
0 1 Pedal Sustain ON
0 B Voice Reverb Level 50
0 B Voice Chorus Level 0
0 B [Control 94] 0
0 B Voice Volume 36
0 B Voice Pan 64
0 B Expression 127
0 B Release Time 46
0 B Pedal Sustain ON
0 polytouch channel=1 note=0 value=66 time=0
0 1 Pitch Bend 8190
0 B Pitch Bend 8190
0 1 Note 048(C2) 67
63 1 Pitch Bend 7540
63 B Pitch Bend 7540
65 1 Pitch Bend 7020
65 B Pitch Bend 7020
66 1 Pitch Bend 6760
66 B Pitch Bend 6760
67 1 Pedal Sustain OFF
67 B Pedal Sustain OFF
67 1 Pitch Bend 6240
67 B Pitch Bend 6240
69 1 Pitch Bend 5590
69 B Pitch Bend 5590
70 1 Pitch Bend 5070
70 B Pitch Bend 5070
71 1 Pitch Bend 4810
71 B Pitch Bend 4810
72 1 Pitch Bend 4290
72 B Pitch Bend 4290
73 1 Pitch Bend 3770
73 B Pitch Bend 3770
74 1 Pitch Bend 3250
74 B Pitch Bend 3250
76 1 Pitch Bend 2730
76 B Pitch Bend 2730
77 1 Pitch Bend 2080
77 B Pitch Bend 2080
78 1 Pedal Sustain ON
78 B Pedal Sustain ON
78 1 Pitch Bend 1560
78 B Pitch Bend 1560
80 1 Pitch Bend 1300
80 B Pitch Bend 1300
80 1 Pitch Bend 780
80 B Pitch Bend 780
82 1 Pitch Bend 260
82 B Pitch Bend 260
83 1 Pitch Bend 0
83 B Pitch Bend 0
196 1 Note 048(C2) 0
294 1 Note 060(C3) 56
410 1 Pitch Bend 130
410 B Pitch Bend 130
414 1 Pitch Bend 260
414 B Pitch Bend 260
414 1 Pitch Bend 780
414 B Pitch Bend 780
416 1 Pitch Bend 1300
416 B Pitch Bend 1300
416 1 Pitch Bend 1560
416 B Pitch Bend 1560
418 1 Pitch Bend 2080
418 B Pitch Bend 2080
418 1 Pitch Bend 2730
418 B Pitch Bend 2730
419 1 Pitch Bend 2990
419 B Pitch Bend 2990
420 1 Pitch Bend 3510
420 B Pitch Bend 3510
421 1 Pitch Bend 3770
421 B Pitch Bend 3770
422 1 Pitch Bend 4290
422 B Pitch Bend 4290
423 1 Pitch Bend 4550
423 B Pitch Bend 4550
423 1 Pitch Bend 5070
423 B Pitch Bend 5070
425 1 Pitch Bend 5590
425 B Pitch Bend 5590
426 1 Pitch Bend 6240
426 B Pitch Bend 6240
428 1 Pitch Bend 6760
428 B Pitch Bend 6760
428 1 Pitch Bend 7020
428 B Pitch Bend 7020
430 1 Pitch Bend 7540
430 B Pitch Bend 7540
431 1 Pitch Bend 8190
431 B Pitch Bend 8190
532 1 Note 064(E3) 42
532 1 Note 067(G3) 44
540 1 Pedal Sustain OFF
540 B Pedal Sustain OFF
559 1 Pedal Sustain ON
559 B Pedal Sustain ON
602 1 Note 067(G3) 0
606 1 Note 064(E3) 0
622 1 Note 060(C3) 0
642 1 Pitch Bend 7800
642 B Pitch Bend 7800
644 1 Pitch Bend 7280
644 B Pitch Bend 7280
644 1 Pitch Bend 6760
644 B Pitch Bend 6760
646 1 Pitch Bend 5850
646 B Pitch Bend 5850
646 1 Pitch Bend 5330
646 B Pitch Bend 5330
647 1 Pitch Bend 4810
647 B Pitch Bend 4810
648 1 Pitch Bend 4290
648 B Pitch Bend 4290
649 1 Pitch Bend 3770
649 B Pitch Bend 3770
650 1 Pitch Bend 3250
650 B Pitch Bend 3250
650 1 Pitch Bend 2990
650 B Pitch Bend 2990
651 1 Pitch Bend 2470
651 B Pitch Bend 2470
652 1 Pitch Bend 1820
652 B Pitch Bend 1820
653 1 Pitch Bend 1300
653 B Pitch Bend 1300
654 1 Pitch Bend 780
654 B Pitch Bend 780
654 1 Pitch Bend 260
654 B Pitch Bend 260
655 1 Pitch Bend 0
655 B Pitch Bend 0
734 1 Note 064(E3) 50
758 1 Note 064(E3) 0
990 1 Note 060(C3) 50
1091 1 Note 060(C3) 0
1098 1 Note 072(C4) 37
1122 1 Note 074(D4) 56
1126 1 Note 072(C4) 0
1140 1 Note 072(C4) 61
1140 1 Pedal Sustain OFF
1140 B Pedal Sustain OFF
1142 1 Note 060(C3) 41
1142 1 Note 048(C2) 42
1146 1 Note 074(D4) 0
1166 1 Pedal Sustain ON
1166 B Pedal Sustain ON
1198 1 Note 060(C3) 0
1210 1 Note 072(C4) 0
1274 1 Note 072(C4) 52
1275 1 Note 060(C3) 48
1275 1 Note 064(E3) 56
1275 1 Note 067(G3) 60
1320 1 Note 067(G3) 0
1323 1 Note 060(C3) 0
1325 1 Note 064(E3) 0
1327 1 Note 072(C4) 0
1384 1 Pedal Sustain OFF
1384 B Pedal Sustain OFF
1394 1 Note 060(C3) 51
1396 1 Note 072(C4) 56
1397 1 Note 067(G3) 62
1397 1 Note 064(E3) 58
1406 1 Pedal Sustain ON
1406 B Pedal Sustain ON
1442 1 Note 064(E3) 0
1448 1 Note 067(G3) 0
1487 1 Note 060(C3) 0
1494 1 Note 048(C2) 0
1514 1 Note 072(C4) 0
1672 1 Note 072(C4) 64
1673 1 Note 048(C2) 56
1673 1 Note 060(C3) 48
1673 1 Note 067(G3) 58
1691 1 Note 074(D4) 65
1695 1 Pedal Sustain OFF
1695 B Pedal Sustain OFF
1696 1 Note 072(C4) 0
1700 1 Note 060(C3) 0
1706 1 Note 072(C4) 59
1712 1 Note 074(D4) 0
1717 1 Note 060(C3) 50
1721 1 Pedal Sustain ON
1721 B Pedal Sustain ON
1729 1 Note 067(G3) 0
1732 1 Note 072(C4) 0
1734 1 Note 060(C3) 0
1760 1 Note 072(C4) 79
1760 1 Note 067(G3) 63
1760 1 Note 060(C3) 71
1773 1 Note 067(G3) 0
1774 1 Note 060(C3) 0
1775 1 Note 072(C4) 0
1808 1 Note 060(C3) 85
1808 1 Note 067(G3) 66
1808 1 Note 072(C4) 74
1818 1 Note 048(C2) 0
1819 1 Note 067(G3) 0
1820 1 Note 072(C4) 0
1822 1 Note 060(C3) 0
1859 1 Note 067(G3) 58
1859 1 Note 072(C4) 69
1863 1 Note 060(C3) 49
1875 1 Note 072(C4) 0
1875 1 Note 067(G3) 0
1883 1 Pedal Sustain OFF
1883 B Pedal Sustain OFF
1884 1 Note 060(C3) 0
1917 1 Note 048(C2) 70
1918 1 Note 072(C4) 61
1919 1 Note 067(G3) 44
1937 1 Note 067(G3) 0
1937 1 Note 072(C4) 0
1944 1 Note 072(C4) 66
1946 1 Note 067(G3) 64
1947 1 Note 060(C3) 73
1960 1 Note 072(C4) 0
1968 1 Note 072(C4) 51
1996 1 Note 067(G3) 0
2000 1 Note 072(C4) 0
2106 1 Note 048(C2) 0
2114 1 Note 060(C3) 0
2920 1 Note 072(C4) 81
2992 1 Note 072(C4) 0
2993 1 Note 076(E4) 58
3126 1 Note 074(D4) 77
3135 1 Note 076(E4) 0
3219 1 Note 072(C4) 82
3223 1 Note 074(D4) 0
3318 1 Note 072(C4) 0
3320 1 Note 074(D4) 62
3437 1 Note 074(D4) 0
3437 1 Note 060(C3) 55
3438 1 Note 072(C4) 73
3487 1 Note 072(C4) 0
3528 1 Note 067(G3) 39
3529 1 Note 064(E3) 41
3537 1 Note 074(D4) 32
3560 1 Note 067(G3) 0
3590 1 Note 064(E3) 0
3609 1 Note 074(D4) 0
3609 1 Note 072(C4) 45
3610 1 Note 064(E3) 37
3611 1 Note 067(G3) 40
3614 1 Note 060(C3) 0
3695 1 Note 072(C4) 0
3695 1 Note 077(F4) 41
3697 1 Note 062(D3) 35
3698 1 Note 074(D4) 36
3698 1 Note 067(G3) 0
3714 1 Note 064(E3) 0
3772 1 Note 074(D4) 0
3782 1 Note 077(F4) 0
3787 1 Note 076(E4) 55
3788 1 Note 065(F3) 40
3790 1 Note 067(G3) 32
3814 1 Note 067(G3) 0
3816 1 Note 065(F3) 0
3862 1 Note 074(D4) 45
3866 1 Note 065(F3) 38
3867 1 Note 067(G3) 31
3868 1 Note 076(E4) 0
3897 1 Note 067(G3) 0
3897 1 Note 065(F3) 0
3902 1 Note 062(D3) 0
3937 1 Note 060(C3) 48
3939 1 Note 072(C4) 53
3939 1 Note 074(D4) 0
4012 1 Note 067(G3) 35
4013 1 Note 064(E3) 42
4013 1 Note 074(D4) 48
4019 1 Note 072(C4) 0
4038 1 Note 067(G3) 0
4057 1 Note 064(E3) 0
4091 1 Note 067(G3) 36
4091 1 Note 072(C4) 39
4092 1 Note 064(E3) 37
4095 1 Note 074(D4) 0
4099 1 Note 060(C3) 0
4116 1 Note 064(E3) 0
4117 1 Note 067(G3) 0
4167 1 Note 062(D3) 43
4168 1 Note 077(F4) 38
4183 1 Note 072(C4) 0
4245 1 Note 067(G3) 35
4247 1 Note 064(E3) 38
4269 1 Note 064(E3) 0
4270 1 Note 067(G3) 0
4296 1 Note 077(F4) 0
4314 1 Note 076(E4) 57
4315 1 Note 062(D3) 0
4315 1 Note 067(G3) 42
4315 1 Note 064(E3) 46
4337 1 Note 067(G3) 0
4338 1 Note 064(E3) 0
4369 1 Note 076(E4) 0
4388 1 Note 076(E4) 41
4388 1 Note 060(C3) 37
4457 1 Note 067(G3) 41
4459 1 Note 064(E3) 36
4481 1 Note 076(E4) 0
4483 1 Note 067(G3) 0
4485 1 Note 064(E3) 0
4530 1 Note 067(G3) 31
4530 1 Note 076(E4) 52
4531 1 Note 064(E3) 35
4535 1 Note 060(C3) 0
4600 1 Note 060(C3) 33
4603 1 Note 079(G4) 50
4607 1 Note 067(G3) 0
4608 1 Note 064(E3) 0
4610 1 Note 076(E4) 0
4668 1 Note 064(E3) 43
4669 1 Note 076(E4) 46
4670 1 Note 067(G3) 27
4677 1 Note 079(G4) 0
4696 1 Note 067(G3) 0
4702 1 Note 064(E3) 0
4739 1 Note 064(E3) 47
4740 1 Note 067(G3) 35
4743 1 Note 072(C4) 52
4744 1 Note 076(E4) 0
4747 1 Note 060(C3) 0
4782 1 Note 067(G3) 0
4839 1 Note 074(D4) 56
4840 1 Note 062(D3) 48
4847 1 Note 072(C4) 0
4851 1 Note 064(E3) 0
4920 1 Note 065(F3) 48
4922 1 Note 067(G3) 35
4934 1 Note 077(F4) 24
4938 1 Note 074(D4) 0
4944 1 Note 067(G3) 0
4944 1 Note 065(F3) 0
4995 1 Note 067(G3) 38
4995 1 Note 076(E4) 40
4995 1 Note 065(F3) 53
5014 1 Note 077(F4) 0
5016 1 Note 062(D3) 0
5020 1 Note 065(F3) 0
5022 1 Note 067(G3) 0
5071 1 Note 055(G2) 39
5074 1 Note 071(B3) 39
5084 1 Note 076(E4) 0
5134 1 Note 074(D4) 43
5136 1 Note 065(F3) 37
5138 1 Note 062(D3) 37
5141 1 Note 059(B2) 30
5152 1 Note 071(B3) 0
5160 1 Note 062(D3) 0
5161 1 Note 065(F3) 0
5200 1 Note 059(B2) 0
5220 1 Note 076(E4) 59
5221 1 Note 065(F3) 38
5221 1 Note 059(B2) 27
5223 1 Note 062(D3) 43
5230 1 Note 074(D4) 0
5242 1 Note 062(D3) 0
5244 1 Note 065(F3) 0
5298 1 Note 065(F3) 38
5299 1 Note 062(D3) 41
5300 1 Note 077(F4) 60
5308 1 Note 076(E4) 0
5325 1 Note 065(F3) 0
5326 1 Note 062(D3) 0
5347 1 Note 059(B2) 0
5373 1 Note 076(E4) 57
5373 1 Note 065(F3) 34
5374 1 Note 059(B2) 30
5375 1 Note 062(D3) 40
5385 1 Note 077(F4) 0
5397 1 Note 065(F3) 0
5397 1 Note 062(D3) 0
5425 1 Note 059(B2) 0
5445 1 Note 065(F3) 38
5446 1 Note 059(B2) 33
5447 1 Note 062(D3) 44
5447 1 Note 074(D4) 58
5458 1 Note 076(E4) 0
5468 1 Note 065(F3) 0
5469 1 Note 062(D3) 0
5517 1 Note 062(D3) 45
5518 1 Note 065(F3) 37
5524 1 Note 072(C4) 53
5527 1 Note 074(D4) 0
5540 1 Note 062(D3) 0
5541 1 Note 065(F3) 0
5601 1 Note 076(E4) 52
5603 1 Note 065(F3) 33
5604 1 Note 062(D3) 40
5610 1 Note 072(C4) 0
5627 1 Note 065(F3) 0
5629 1 Note 062(D3) 0
5671 1 Note 059(B2) 0
5691 1 Note 055(G2) 0
5694 1 Note 072(C4) 45
5705 1 Note 076(E4) 0
5779 1 Note 060(C3) 37
5782 1 Note 074(D4) 44
5791 1 Note 072(C4) 0
5847 1 Note 076(E4) 48
5848 1 Note 064(E3) 35
5850 1 Note 067(G3) 35
5854 1 Note 074(D4) 0
5873 1 Note 067(G3) 0
5875 1 Note 064(E3) 0
5927 1 Note 067(G3) 35
5927 1 Note 064(E3) 34
5928 1 Note 077(F4) 59
5938 1 Note 076(E4) 0
5951 1 Note 064(E3) 0
5954 1 Note 067(G3) 0
5978 1 Note 060(C3) 0
5993 1 Note 077(F4) 0
6015 1 Note 077(F4) 35
6018 1 Note 060(C3) 34
6049 1 Note 060(C3) 0
6055 1 Note 077(F4) 0
6206 1 Note 060(C3) 35
6206 1 Note 048(C2) 36
6267 1 Note 060(C3) 0
6286 1 Note 048(C2) 0
6315 1 Note 065(F3) 56
6318 1 Note 060(C3) 38
6323 1 Note 048(C2) 27
6390 1 Note 069(A3) 71
6401 1 Note 060(C3) 0
6402 1 Note 048(C2) 0
6459 1 Note 065(F3) 0
6485 1 Note 069(A3) 0
6485 1 Note 052(E2) 16
6487 1 Note 065(F3) 51
6487 1 Note 067(G3) 64
6488 1 Note 071(B3) 52
6490 1 Note 055(G2) 32
6507 1 Note 055(G2) 0
6522 1 Note 065(F3) 0
6540 1 Note 071(B3) 0
6540 1 Note 067(G3) 0
6541 1 Note 052(E2) 0
6671 1 Release Time 0
6671 B Release Time 0
6671 1 Bank MSB 0
6671 1 Bank LSB 112
6671 1 Program Change [0,112,71] 078 Clarinet (SAXOPHONE)
6671 polytouch channel=1 note=0 value=64 time=0
6671 B Bank MSB 0
6671 B Bank LSB 114
6671 B Program Change [0,114,66] 076 Breathy Tenor Sax (SAXOPHONE)
6671 1 RPN MSB 0
6671 1 RPN LSB 0
6671 1 Data Entry MSB: Pitch Bend Range 2
6671 B RPN MSB 0
6671 B RPN LSB 0
6671 B Data Entry MSB: Pitch Bend Range 2
6687 1 Voice Volume 103
6687 1 Voice Reverb Level 40
6687 B Voice Volume 66
6687 B Voice Reverb Level 40
6687 B Voice Chorus Level 20
6813 B Note 055(G2) 62
6813 1 Note 067(G3) 62
6897 B Note 060(C3) 54
6897 1 Note 072(C4) 54
6898 B Note 036(C1) 53
6898 B Note 052(E2) 58
6898 1 Note 048(C2) 53
6898 1 Note 064(E3) 58
6898 B Note 048(C2) 41
6898 1 Note 060(C3) 41
6978 B Note 055(G2) 0
6978 1 Note 067(G3) 0
7020 B Note 052(E2) 0
7020 1 Note 064(E3) 0
7069 B Note 060(C3) 0
7069 1 Note 072(C4) 0
7101 B Note 060(C3) 73
7101 1 Note 072(C4) 73
7178 B Note 036(C1) 0
7178 1 Note 048(C2) 0
7183 B Note 048(C2) 0
7183 1 Note 060(C3) 0
7185 B Note 043(G1) 54
7185 1 Note 055(G2) 54
7185 B Note 059(B2) 65
7185 1 Note 071(B3) 65
7193 B Note 060(C3) 0
7193 1 Note 072(C4) 0
7220 B Note 059(B2) 0
7220 1 Note 071(B3) 0
7257 B Note 043(G1) 0
7257 1 Note 055(G2) 0
7549 B Note 036(C1) 69
7549 1 Note 048(C2) 69
7631 B Note 036(C1) 0
7631 1 Note 048(C2) 0
7663 1 Release Time 46
7663 B Release Time 46
7663 1 Bank MSB 0
7663 1 Bank LSB 112
7663 1 Program Change [0,112,40] 060 Violin (STRINGS)
7663 polytouch channel=1 note=0 value=63 time=0
7663 B Bank MSB 0
7663 B Bank LSB 65
7663 B Program Change [0,65,19] 201 Tremolo Organ Flute (XG ORGAN)
7663 1 RPN MSB 0
7663 1 RPN LSB 0
7663 1 Data Entry MSB: Pitch Bend Range 5
7663 B RPN MSB 0
7663 B RPN LSB 0
7663 B Data Entry MSB: Pitch Bend Range 5
7679 1 Voice Volume 54
7679 1 Voice Pan 92
7679 1 Voice Reverb Level 78
7679 1 Voice Chorus Level 103
7679 B Voice Volume 95
7679 B Voice Pan 48
7679 B Voice Reverb Level 17
7679 B Voice Chorus Level 82
7770 1 Note 060(C3) 52
7851 1 Note 072(C4) 81
7935 1 Note 071(B3) 60
7938 1 Note 072(C4) 0
8030 1 Note 072(C4) 72
8037 1 Note 071(B3) 0
8286 1 Note 072(C4) 0
8323 1 Note 067(G3) 77
8602 1 Note 060(C3) 0
8649 1 Note 067(G3) 0
8855 1 All Sound OFF
8855 B All Sound OFF
8855 <meta message end_of_track time=0>

The reverb and chorus type don't get changed while the thing is recording. LOCAL and so on do not seem to have an effect on what is recorded


In [123]:
with open('documents/data/user_song_tests/4track_rec.txt') as infile:
    recd = list(mido_util.readin_strings(infile))

In [128]:
mprint(recd, 96, 100)


2729.09 0 Pitch Bend 260
2729.23 1 Pitch Bend 260
2729.39 2 Pitch Bend 260
2729.88 0 Pitch Bend 780
2730.03 1 Pitch Bend 780
2730.19 2 Pitch Bend 780
2731.18 0 Pitch Bend 1300
2731.20 1 Pitch Bend 1300
2731.33 2 Pitch Bend 1300
2732.11 0 Pitch Bend 1820
2732.14 1 Pitch Bend 1820
2732.15 2 Pitch Bend 1820
2732.75 0 Pitch Bend 2470
2732.91 1 Pitch Bend 2470
2732.92 2 Pitch Bend 2470
2733.57 0 Pitch Bend 2990
2733.74 1 Pitch Bend 2990
2733.75 2 Pitch Bend 2990
2734.35 0 Pitch Bend 3250
2734.51 1 Pitch Bend 3250
2734.52 2 Pitch Bend 3250
2735.16 0 Pitch Bend 3770
2735.31 1 Pitch Bend 3770
2735.47 2 Pitch Bend 3770
2735.98 0 Pitch Bend 4290
2736.13 1 Pitch Bend 4290
2736.29 2 Pitch Bend 4290
2736.77 0 Pitch Bend 4550
2736.92 1 Pitch Bend 4550
2737.13 2 Pitch Bend 4550
2737.56 0 Pitch Bend 5070
2737.71 1 Pitch Bend 5070
2737.87 2 Pitch Bend 5070
2738.19 0 Pitch Bend 5330
2738.35 1 Pitch Bend 5330
2738.52 2 Pitch Bend 5330
2739.01 0 Pitch Bend 5850
2739.15 1 Pitch Bend 5850
2739.31 2 Pitch Bend 5850
2739.95 0 Pitch Bend 6240
2740.11 1 Pitch Bend 6240
2740.12 2 Pitch Bend 6240
2741.23 0 Pitch Bend 6760
2741.39 1 Pitch Bend 6760
2741.55 2 Pitch Bend 6760
2741.97 0 Pitch Bend 7280
2742.05 1 Pitch Bend 7280
2742.20 2 Pitch Bend 7280
2742.67 0 Pitch Bend 7540
2742.83 1 Pitch Bend 7540
2742.99 2 Pitch Bend 7540
2743.47 0 Pitch Bend 8190
2743.63 1 Pitch Bend 8190
2743.80 2 Pitch Bend 8190
3263.80 0 Pedal Sustain ON
3263.94 1 Pedal Sustain ON
3264.10 2 Pedal Sustain ON
3534.66 0 Note 072(C4) 67
0.00 start time=22.093599988998903
2.57 5 All Sound OFF
2.72 6 All Sound OFF
2.88 7 All Sound OFF
3.04 7 Voice Volume 105
3.20 7 Note 036(C1) 50
3.68 7 Note 048(C2) 51
3.84 6 Note 053(F2) 39
4.16 6 Note 072(C4) 45
4.96 6 Note 077(F4) 42
5.35 6 Note 069(A3) 44
5.46 6 Note 065(F3) 44
5.92 5 Note 024(C0) 77
8.80 7 Pedal Sustain ON
64.98 0 Pitch Bend 7540
65.01 1 Pitch Bend 7540
65.12 2 Pitch Bend 7540
66.72 0 Pitch Bend 7020
66.88 1 Pitch Bend 7020
67.04 2 Pitch Bend 7020
68.32 0 Pitch Bend 6760
68.48 1 Pitch Bend 6760
68.64 2 Pitch Bend 6760
69.28 0 Pedal Sustain OFF
69.44 1 Pedal Sustain OFF
69.61 2 Pedal Sustain OFF
69.83 0 Pitch Bend 6240
69.84 1 Pitch Bend 6240
69.94 2 Pitch Bend 6240
70.88 0 Pitch Bend 5590
70.89 1 Pitch Bend 5590
71.20 2 Pitch Bend 5590
72.00 0 Pitch Bend 5070
72.16 1 Pitch Bend 5070
72.32 2 Pitch Bend 5070
73.28 0 Pitch Bend 4810
73.44 1 Pitch Bend 4810
73.60 2 Pitch Bend 4810
74.40 0 Pitch Bend 4290
74.57 1 Pitch Bend 4290
74.80 2 Pitch Bend 4290
75.69 0 Pitch Bend 3770
75.84 1 Pitch Bend 3770
76.00 2 Pitch Bend 3770
76.97 0 Pitch Bend 3250
77.12 1 Pitch Bend 3250
77.14 2 Pitch Bend 3250
78.24 0 Pitch Bend 2730
78.40 1 Pitch Bend 2730
78.56 2 Pitch Bend 2730
79.76 0 Pitch Bend 2080
79.85 1 Pitch Bend 2080
80.00 2 Pitch Bend 2080
80.48 0 Pedal Sustain ON
80.64 1 Pedal Sustain ON
80.80 2 Pedal Sustain ON
80.96 0 Pitch Bend 1560
81.12 1 Pitch Bend 1560
81.28 2 Pitch Bend 1560
82.08 0 Pitch Bend 1300
82.24 1 Pitch Bend 1300
82.40 2 Pitch Bend 1300
82.88 0 Pitch Bend 780
83.04 1 Pitch Bend 780
83.20 2 Pitch Bend 780
84.00 0 Pitch Bend 260
84.16 1 Pitch Bend 260
84.32 2 Pitch Bend 260
85.62 0 Pitch Bend 0
85.76 1 Pitch Bend 0
85.92 2 Pitch Bend 0
99.86 6 Note 065(F3) 0
100.80 6 Note 053(F2) 0
102.72 6 Note 069(A3) 0
103.04 6 Note 077(F4) 0
103.68 6 Note 072(C4) 0
198.40 0 Note 072(C4) 0
242.88 7 Note 048(C2) 0
271.68 7 Note 036(C1) 0
282.89 5 Note 024(C0) 0
286.88 5 Note 031(G0) 82
296.32 0 Note 084(C5) 56
412.81 0 Pitch Bend 130
412.95 1 Pitch Bend 130
413.11 2 Pitch Bend 130
416.00 0 Pitch Bend 260
416.15 1 Pitch Bend 260
416.31 2 Pitch Bend 260
416.80 0 Pitch Bend 780
417.03 1 Pitch Bend 780
417.06 2 Pitch Bend 780
417.91 0 Pitch Bend 1300
418.07 1 Pitch Bend 1300
418.23 2 Pitch Bend 1300
418.71 0 Pitch Bend 1560
418.87 1 Pitch Bend 1560
419.03 2 Pitch Bend 1560
419.99 0 Pitch Bend 2080
420.15 1 Pitch Bend 2080
420.31 2 Pitch Bend 2080
420.79 0 Pitch Bend 2730
420.95 1 Pitch Bend 2730
421.11 2 Pitch Bend 2730
421.59 0 Pitch Bend 2990
421.76 1 Pitch Bend 2990
422.02 2 Pitch Bend 2990
422.71 0 Pitch Bend 3510
422.87 1 Pitch Bend 3510
423.03 2 Pitch Bend 3510
423.51 0 Pitch Bend 3770
423.67 1 Pitch Bend 3770
423.83 2 Pitch Bend 3770
424.31 0 Pitch Bend 4290
424.47 1 Pitch Bend 4290
424.63 2 Pitch Bend 4290
425.59 0 Pitch Bend 4550
425.75 1 Pitch Bend 4550
425.91 2 Pitch Bend 4550
426.07 0 Pitch Bend 5070
426.23 1 Pitch Bend 5070
426.39 2 Pitch Bend 5070
427.21 0 Pitch Bend 5590
427.35 1 Pitch Bend 5590
427.51 2 Pitch Bend 5590
428.47 0 Pitch Bend 6240
428.63 1 Pitch Bend 6240
428.79 2 Pitch Bend 6240
430.07 0 Pitch Bend 6760
430.23 1 Pitch Bend 6760
430.39 2 Pitch Bend 6760
430.87 0 Pitch Bend 7020
431.03 1 Pitch Bend 7020
431.19 2 Pitch Bend 7020
432.03 0 Pitch Bend 7540
432.15 1 Pitch Bend 7540
432.31 2 Pitch Bend 7540
433.61 0 Pitch Bend 8190
433.76 1 Pitch Bend 8190
433.93 2 Pitch Bend 8190
534.39 0 Note 088(E5) 42
534.55 0 Note 091(G5) 44
541.91 0 Pedal Sustain OFF
542.07 1 Pedal Sustain OFF
542.23 2 Pedal Sustain OFF
561.13 0 Pedal Sustain ON
561.27 1 Pedal Sustain ON
561.43 2 Pedal Sustain ON
564.79 5 Note 026(D0) 65
567.84 5 Note 031(G0) 0
568.79 7 Note 050(D2) 73
568.95 7 Note 052(E2) 66
570.90 7 Note 038(D1) 50
574.87 7 Note 052(E2) 0
580.83 7 Pedal Sustain OFF
604.00 0 Note 091(G5) 0
608.49 0 Note 088(E5) 0
616.81 7 Pedal Sustain ON
624.48 0 Note 084(C5) 0
644.79 0 Pitch Bend 7800
645.08 1 Pitch Bend 7800
645.25 2 Pitch Bend 7800
646.07 0 Pitch Bend 7280
646.23 1 Pitch Bend 7280
646.39 2 Pitch Bend 7280
646.71 0 Pitch Bend 6760
646.87 1 Pitch Bend 6760
647.03 2 Pitch Bend 6760
647.99 0 Pitch Bend 5850
648.15 1 Pitch Bend 5850
648.31 2 Pitch Bend 5850
648.79 0 Pitch Bend 5330
648.95 1 Pitch Bend 5330
649.11 2 Pitch Bend 5330
649.59 0 Pitch Bend 4810
649.75 1 Pitch Bend 4810
649.92 2 Pitch Bend 4810
650.40 0 Pitch Bend 4290
650.55 1 Pitch Bend 4290
650.71 2 Pitch Bend 4290
651.19 0 Pitch Bend 3770
651.35 1 Pitch Bend 3770
651.51 2 Pitch Bend 3770
651.99 0 Pitch Bend 3250
652.15 1 Pitch Bend 3250
652.31 2 Pitch Bend 3250
652.79 0 Pitch Bend 2990
652.95 1 Pitch Bend 2990
653.11 2 Pitch Bend 2990
653.58 0 Pitch Bend 2470
653.75 1 Pitch Bend 2470
653.91 2 Pitch Bend 2470
654.39 0 Pitch Bend 1820
654.55 1 Pitch Bend 1820
654.71 2 Pitch Bend 1820
655.22 0 Pitch Bend 1300
655.35 1 Pitch Bend 1300
655.51 2 Pitch Bend 1300
656.01 0 Pitch Bend 780
656.16 1 Pitch Bend 780
656.32 2 Pitch Bend 780
656.80 0 Pitch Bend 260
656.95 1 Pitch Bend 260
657.11 2 Pitch Bend 260
657.59 0 Pitch Bend 0
657.75 1 Pitch Bend 0
657.91 2 Pitch Bend 0
733.75 7 Note 038(D1) 0
735.84 0 Note 088(E5) 50
752.79 7 Note 050(D2) 0
759.68 0 Note 088(E5) 0
841.74 7 Note 033(A0) 41
842.06 5 Note 026(D0) 0
845.74 5 Note 029(F0) 68
847.83 7 Note 045(A1) 55
856.80 7 Pedal Sustain OFF
883.70 7 Pedal Sustain ON
991.83 0 Note 084(C5) 50
1004.80 7 Note 033(A0) 0
1006.86 7 Note 045(A1) 0
1093.28 0 Note 084(C5) 0
1099.82 0 Note 096(C6) 37
1106.89 6 Note 077(F4) 61
1107.02 6 Note 053(F2) 52
1107.34 6 Note 065(F3) 53
1108.30 6 Note 069(A3) 69
1108.62 6 Note 072(C4) 59
1115.84 7 Pedal Sustain OFF
1117.74 7 Note 048(C2) 62
1118.06 7 Note 036(C1) 59
1124.32 0 Note 098(D6) 56
1128.80 0 Note 096(C6) 0
1131.83 7 Pedal Sustain ON
1142.06 0 Note 096(C6) 61
1142.38 0 Pedal Sustain OFF
1142.54 1 Pedal Sustain OFF
1142.70 2 Pedal Sustain OFF
1144.62 0 Note 084(C5) 41
1144.78 0 Note 072(C4) 42
1145.26 5 Note 029(F0) 0
1146.71 5 Note 019(G-1) 70
1147.98 0 Note 098(D6) 0
1168.32 0 Pedal Sustain ON
1168.46 1 Pedal Sustain ON
1168.62 2 Pedal Sustain ON
1176.95 6 Pedal Sustain ON
1189.74 6 Note 069(A3) 0
1191.67 6 Note 072(C4) 0
1194.70 6 Note 077(F4) 0
1195.65 6 Note 053(F2) 0
1198.70 6 Note 065(F3) 0
1200.63 0 Note 084(C5) 0
1212.47 0 Note 096(C6) 0
1237.74 5 Note 059(B2) 65
1276.47 0 Note 096(C6) 52
1276.77 0 Note 084(C5) 48
1277.58 0 Note 088(E5) 56
1277.89 0 Note 091(G5) 60
1322.06 0 Note 091(G5) 0
1325.00 0 Note 084(C5) 0
1327.02 0 Note 088(E5) 0
1328.95 5 Note 059(B2) 0
1329.09 0 Note 096(C6) 0
1330.71 5 Note 062(D3) 72
1366.70 6 Pedal Sustain OFF
1372.79 6 Note 048(C2) 61
1373.89 6 Note 072(C4) 56
1374.38 6 Note 060(C3) 56
1385.89 0 Pedal Sustain OFF
1386.05 1 Pedal Sustain OFF
1386.21 2 Pedal Sustain OFF
1396.47 0 Note 084(C5) 51
1398.05 0 Note 096(C6) 56
1399.67 0 Note 091(G5) 62
1399.81 0 Note 088(E5) 58
1408.29 0 Pedal Sustain ON
1408.45 1 Pedal Sustain ON
1408.61 2 Pedal Sustain ON
1414.87 7 Note 036(C1) 0
1416.78 7 Note 047(B1) 62
1417.25 6 Pedal Sustain ON
1417.89 7 Note 048(C2) 0
1419.67 7 Note 035(B0) 35
1420.29 5 Note 029(F0) 56
1421.25 5 Note 062(D3) 0
1421.73 5 Note 069(A3) 71
1437.73 5 Note 019(G-1) 0
1444.07 0 Note 088(E5) 0
1446.86 7 Pedal Sustain OFF
1450.37 0 Note 091(G5) 0
1462.86 6 Pedal Sustain OFF
1481.73 7 Pedal Sustain ON
1484.79 6 Note 060(C3) 0
1487.65 6 Note 072(C4) 0
1489.43 0 Note 084(C5) 0
1492.77 6 Note 048(C2) 0
1496.46 0 Note 072(C4) 0
1507.66 5 Note 067(G3) 63
1516.29 0 Note 096(C6) 0
1517.73 5 Note 069(A3) 0
1551.65 7 Note 035(B0) 0
1567.65 7 Note 047(B1) 0
1571.66 7 Note 036(C1) 39
1573.60 7 Note 045(A1) 45
1595.83 5 Note 065(F3) 75
1596.79 7 Note 036(C1) 0
1608.78 5 Note 067(G3) 0
1647.82 7 Note 045(A1) 0
1672.78 7 Note 036(C1) 56
1673.72 7 Note 048(C2) 66
1674.37 0 Note 096(C6) 64
1674.84 0 Note 072(C4) 56
1675.48 0 Note 084(C5) 48
1675.64 0 Note 091(G5) 58
1676.12 7 Pedal Sustain OFF
1677.73 6 Note 072(C4) 40
1686.69 5 Note 024(C0) 55
1691.65 5 Note 064(E3) 79
1692.94 0 Note 098(D6) 65
1694.69 7 Pedal Sustain ON
1697.43 0 Pedal Sustain OFF
1697.58 1 Pedal Sustain OFF
1697.74 2 Pedal Sustain OFF
1698.06 5 Note 029(F0) 0
1698.52 0 Note 096(C6) 0
1700.78 5 Note 065(F3) 0
1701.97 0 Note 084(C5) 0
1707.82 0 Note 096(C6) 59
1714.20 0 Note 098(D6) 0
1719.49 0 Note 084(C5) 50
1723.02 0 Pedal Sustain ON
1723.16 1 Pedal Sustain ON
1723.33 2 Pedal Sustain ON
1731.33 0 Note 091(G5) 0
1733.88 0 Note 096(C6) 0
1734.68 6 Pedal Sustain ON
1736.67 0 Note 084(C5) 0
1746.72 6 Note 048(C2) 45
1750.68 6 Note 060(C3) 35
1761.72 0 Note 096(C6) 79
1762.21 0 Note 091(G5) 63
1762.36 0 Note 084(C5) 71
1775.32 0 Note 091(G5) 0
1776.62 0 Note 084(C5) 0
1776.92 0 Note 096(C6) 0
1809.72 0 Note 084(C5) 85
1810.69 0 Note 091(G5) 66
1810.85 0 Note 096(C6) 74
1818.68 7 Note 036(C1) 0
1818.84 7 Note 048(C2) 0
1819.96 0 Note 072(C4) 0
1821.02 0 Note 091(G5) 0
1821.72 0 Note 096(C6) 0
1823.81 0 Note 084(C5) 0
1852.78 6 Note 060(C3) 0
1860.69 0 Note 091(G5) 58
1860.77 0 Note 096(C6) 69
1864.77 0 Note 084(C5) 49
1876.62 0 Note 096(C6) 0
1876.77 0 Note 091(G5) 0
1885.48 0 Pedal Sustain OFF
1885.57 1 Pedal Sustain OFF
1885.72 2 Pedal Sustain OFF
1886.52 0 Note 084(C5) 0
1905.72 6 Note 072(C4) 0
1918.68 0 Note 072(C4) 70
1919.64 5 Note 064(E3) 0
1920.62 0 Note 096(C6) 61
1921.56 0 Note 091(G5) 44
1938.85 0 Note 091(G5) 0
1939.32 0 Note 096(C6) 0
1946.36 0 Note 096(C6) 66
1947.64 0 Note 091(G5) 64
1949.40 0 Note 084(C5) 73
1962.53 0 Note 096(C6) 0
1965.72 6 Note 060(C3) 55
1966.68 6 Note 072(C4) 66
1970.53 0 Note 096(C6) 51
1980.78 6 Note 048(C2) 0
1987.65 6 Note 060(C3) 0
1988.76 6 Note 072(C4) 0
1997.72 0 Note 091(G5) 0
2002.20 0 Note 096(C6) 0
2005.72 5 Note 024(C0) 0
2107.97 0 Note 072(C4) 0
2115.97 0 Note 084(C5) 0
2238.68 6 Pedal Sustain OFF
2249.71 6 Note 077(F4) 47
2250.67 6 Note 069(A3) 58
2251.63 6 Note 065(F3) 40
2251.95 6 Note 072(C4) 53
2252.93 6 Note 053(F2) 34
2290.67 5 Note 029(F0) 65
2291.80 6 Pedal Sustain ON
2383.64 5 Note 065(F3) 65
2419.64 6 Note 077(F4) 0
2439.65 6 Note 053(F2) 0
2440.60 6 Note 072(C4) 0
2442.67 6 Note 065(F3) 0
2443.63 6 Note 069(A3) 0
2472.77 5 Note 065(F3) 0
2477.71 5 Note 069(A3) 70
2545.72 5 Note 069(A3) 0
2575.63 5 Note 081(A4) 61
2665.70 5 Note 081(A4) 0
2666.66 5 Note 079(G4) 66
2751.80 5 Note 029(F0) 0
2756.60 5 Note 077(F4) 63
2763.78 5 Note 079(G4) 0
2828.76 6 Pedal Sustain OFF
2833.71 5 Note 024(C0) 52
2835.63 6 Note 048(C2) 59
2836.58 6 Note 072(C4) 58
2836.90 6 Note 067(G3) 57
2838.02 7 Note 036(C1) 42
2838.50 6 Note 076(E4) 50
2839.32 6 Note 060(C3) 47
2839.94 7 Pedal Sustain OFF
2841.70 7 Note 048(C2) 63
2842.02 5 Note 076(E4) 76
2850.66 5 Note 077(F4) 0
2863.81 7 Pedal Sustain ON
2874.67 6 Pedal Sustain ON
2921.70 0 Note 096(C6) 81
2940.76 5 Note 074(D4) 53
2946.66 5 Note 076(E4) 0
2961.70 6 Note 072(C4) 0
2961.86 6 Note 076(E4) 0
2962.67 6 Note 048(C2) 0
2962.89 6 Note 067(G3) 0
2963.14 6 Note 060(C3) 0
2994.02 0 Note 096(C6) 0
2994.66 0 Note 100(E6) 58
3007.65 6 Pedal Sustain OFF
3029.86 7 Note 048(C2) 0
3032.61 5 Note 072(C4) 60
3036.78 5 Note 074(D4) 0
3115.77 7 Pedal Sustain OFF
3116.61 7 Note 052(E2) 66
3127.95 0 Note 098(D6) 77
3136.59 0 Note 100(E6) 0
3137.69 5 Note 071(B3) 74
3144.58 7 Pedal Sustain ON
3145.69 5 Note 072(C4) 0
3221.07 0 Note 096(C6) 82
3224.90 0 Note 098(D6) 0
3226.67 7 Note 036(C1) 0
3240.61 5 Note 069(A3) 59
3244.57 5 Note 071(B3) 0
3259.61 7 Note 052(E2) 0
3311.79 6 Bank MSB 0
3311.80 6 Bank LSB 113
3311.93 6 Program Change [0,113,57] 085 Trombone Section (TRUMPET)
3320.11 0 Note 096(C6) 0
3322.01 0 Note 098(D6) 62
3327.61 6 Voice Volume 109
3327.77 6 Voice Pan 64
3327.78 6 Voice Reverb Level 34
3327.93 6 Voice Chorus Level 0
3340.59 5 Note 067(G3) 45
3351.78 5 Note 069(A3) 0
3356.58 5 Note 024(C0) 0
3399.78 5 Note 067(G3) 0
3439.01 0 Note 098(D6) 0
3439.03 0 Note 084(C5) 55
3440.25 0 Note 096(C6) 73
3440.57 5 Note 019(G-1) 79
3441.53 5 Note 067(G3) 72
3453.77 6 Note 036(C1) 51
3454.01 6 Pedal Sustain ON
3489.06 0 Note 096(C6) 0
3528.58 6 Note 048(C2) 40
3530.01 0 Note 091(G5) 39
3530.64 5 Note 067(G3) 0
3531.28 0 Note 088(E5) 41
3531.60 6 Note 036(C1) 0
3531.92 5 Note 069(A3) 63
3539.30 0 Note 098(D6) 32
3561.68 6 Pedal Sustain OFF
3561.84 0 Note 091(G5) 0
3570.65 7 Pedal Sustain OFF
3591.60 7 Pedal Sustain ON
3592.08 0 Note 088(E5) 0
3611.44 0 Note 098(D6) 0
3611.60 0 Note 096(C6) 45
3612.60 0 Note 088(E5) 37
3613.20 0 Note 091(G5) 40
3614.65 6 Note 055(G2) 67
3615.76 6 Note 048(C2) 0
3615.92 0 Note 084(C5) 0
3621.84 5 Note 067(G3) 63
3632.58 5 Note 069(A3) 0
3696.80 0 Note 096(C6) 0
3697.53 0 Note 101(F6) 41
3698.64 6 Note 060(C3) 59
3698.96 6 Note 055(G2) 0
3699.28 0 Note 086(D5) 35
3700.09 0 Note 098(D6) 36
3700.40 0 Note 091(G5) 0
3710.64 5 Note 029(F0) 53
3715.60 0 Note 088(E5) 0
3716.62 5 Note 065(F3) 56
3720.56 5 Note 067(G3) 0
3774.48 0 Note 098(D6) 0
3784.40 0 Note 101(F6) 0
3788.90 0 Note 100(E6) 55
3789.84 6 Note 064(E3) 56
3790.16 0 Note 089(F5) 40
3791.61 0 Note 091(G5) 32
3791.92 6 Note 060(C3) 0
3794.64 5 Note 065(F3) 0
3816.09 0 Note 091(G5) 0
3817.84 0 Note 089(F5) 0
3820.57 5 Note 057(A2) 72
3853.68 5 Note 019(G-1) 0
3864.40 0 Note 098(D6) 45
3867.76 0 Note 089(F5) 38
3869.36 0 Note 091(G5) 31
3870.00 0 Note 100(E6) 0
3893.68 6 Note 062(D3) 55
3898.64 0 Note 091(G5) 0
3898.80 0 Note 089(F5) 0
3904.40 0 Note 086(D5) 0
3904.56 6 Note 064(E3) 0
3905.68 5 Note 059(B2) 72
3908.56 5 Note 057(A2) 0
3938.96 0 Note 084(C5) 48
3940.89 0 Note 096(C6) 53
3941.04 0 Note 098(D6) 0
3953.68 5 Note 029(F0) 0
3991.60 5 Note 024(C0) 52
3994.51 5 Note 060(C3) 81
4001.68 5 Note 059(B2) 0
4014.49 0 Note 091(G5) 35
4014.51 0 Note 088(E5) 42
4015.43 0 Note 098(D6) 48
4021.53 0 Note 096(C6) 0
4040.25 0 Note 091(G5) 0
4058.65 0 Note 088(E5) 0
4066.63 7 Note 052(E2) 66
4093.59 0 Note 091(G5) 36
4093.68 0 Note 096(C6) 39
4093.99 0 Note 088(E5) 37
4097.36 0 Note 098(D6) 0
4100.89 0 Note 084(C5) 0
4103.77 7 Note 052(E2) 0
4118.16 0 Note 088(E5) 0
4119.28 0 Note 091(G5) 0
4151.59 7 Note 052(E2) 62
4168.89 0 Note 086(D5) 43
4169.51 0 Note 101(F6) 38
4184.57 7 Note 052(E2) 0
4184.71 0 Note 096(C6) 0
4194.63 6 Note 062(D3) 0
4236.56 6 Note 064(E3) 73
4246.79 0 Note 091(G5) 35
4249.52 0 Note 088(E5) 38
4254.63 6 Note 062(D3) 59
4258.63 6 Note 064(E3) 0
4263.61 7 Pedal Sustain OFF
4263.75 6 Note 060(C3) 58
4271.27 0 Note 088(E5) 0
4271.59 0 Note 091(G5) 0
4272.56 6 Note 062(D3) 0
4282.65 7 Pedal Sustain ON
4297.67 0 Note 101(F6) 0
4305.67 5 Note 024(C0) 0
4309.67 5 Note 060(C3) 0
4316.24 0 Note 100(E6) 57
4316.56 0 Note 086(D5) 0
4317.04 0 Note 091(G5) 42
4317.35 0 Note 088(E5) 46
4338.63 0 Note 091(G5) 0
4340.07 0 Note 088(E5) 0
4370.95 0 Note 100(E6) 0
4389.83 0 Note 100(E6) 41
4390.31 0 Note 084(C5) 37
4420.55 6 Pedal Sustain ON
4429.67 6 Note 060(C3) 0
4458.95 0 Note 091(G5) 41
4460.61 0 Note 088(E5) 36
4482.63 0 Note 100(E6) 0
4484.54 0 Note 091(G5) 0
4486.95 0 Note 088(E5) 0
4508.55 7 Pedal Sustain OFF
4508.70 7 Note 036(C1) 46
4509.51 7 Note 048(C2) 59
4531.60 0 Note 091(G5) 31
4531.75 0 Note 100(E6) 52
4533.18 0 Note 088(E5) 35
4536.72 0 Note 084(C5) 0
4539.58 7 Pedal Sustain ON
4562.63 6 Pedal Sustain OFF
4597.66 5 Note 024(C0) 47
4600.56 5 Note 067(G3) 67
4602.46 0 Note 084(C5) 33
4605.20 0 Note 103(G6) 50
4609.20 0 Note 091(G5) 0
4609.51 0 Note 088(E5) 0
4612.22 0 Note 100(E6) 0
4669.82 0 Note 088(E5) 43
4671.42 0 Note 100(E6) 46
4672.22 0 Note 091(G5) 27
4678.85 0 Note 103(G6) 0
4689.66 5 Note 069(A3) 73
4690.62 5 Note 067(G3) 0
4698.47 0 Note 091(G5) 0
4703.92 0 Note 088(E5) 0
4741.03 0 Note 088(E5) 47
4741.82 0 Note 091(G5) 35
4744.71 0 Note 096(C6) 52
4745.82 0 Note 100(E6) 0
4748.88 0 Note 084(C5) 0
4770.62 5 Note 069(A3) 0
4780.55 5 Note 067(G3) 66
4783.91 0 Note 091(G5) 0
4815.58 7 Note 048(C2) 0
4831.58 6 Bank MSB 0
4831.74 6 Bank LSB 112
4831.74 6 Program Change [0,112,60] 086 French Horn (TRUMPET)
4832.61 7 Note 036(C1) 0
4841.18 0 Note 098(D6) 56
4841.66 0 Note 086(D5) 48
4848.94 0 Note 096(C6) 0
4852.57 6 Voice Volume 81
4852.70 6 Voice Reverb Level 40
4853.02 0 Note 088(E5) 0
4869.66 5 Note 072(C4) 81
4875.58 5 Note 067(G3) 0
4908.55 6 Pedal Sustain ON
4922.15 0 Note 089(F5) 48
4924.22 0 Note 091(G5) 35
4929.66 6 Pedal Sustain OFF
4936.06 0 Note 101(F6) 24
4940.22 0 Note 098(D6) 0
4945.65 0 Note 091(G5) 0
4945.97 0 Note 089(F5) 0
4964.54 5 Note 067(G3) 56
4971.61 5 Note 072(C4) 0
4996.71 0 Note 091(G5) 38
4996.85 0 Note 100(E6) 40
4997.01 0 Note 089(F5) 53
5015.57 0 Note 101(F6) 0
5017.82 0 Note 086(D5) 0
5022.13 0 Note 089(F5) 0
5024.05 0 Note 091(G5) 0
5069.65 5 Note 060(C3) 71
5071.59 5 Note 067(G3) 0
5073.49 0 Note 079(G4) 39
5075.67 0 Note 095(B5) 39
5086.29 0 Note 100(E6) 0
5136.23 0 Note 098(D6) 43
5138.13 0 Note 089(F5) 37
5140.12 0 Note 086(D5) 37
5143.41 0 Note 083(B4) 30
5153.65 0 Note 095(B5) 0
5158.61 7 Note 053(F2) 55
5158.62 7 Note 041(F1) 52
5158.93 6 Note 060(C3) 53
5161.65 7 Pedal Sustain OFF
5162.29 0 Note 086(D5) 0
5163.41 0 Note 089(F5) 0
5173.65 5 Note 029(F0) 61
5176.55 5 Note 069(A3) 79
5177.01 5 Note 024(C0) 0
5177.49 5 Note 060(C3) 0
5192.55 7 Pedal Sustain ON
5202.45 0 Note 083(B4) 0
5221.97 0 Note 100(E6) 59
5222.45 0 Note 089(F5) 38
5223.09 0 Note 083(B4) 27
5225.18 0 Note 086(D5) 43
5231.89 0 Note 098(D6) 0
5244.06 0 Note 086(D5) 0
5245.65 0 Note 089(F5) 0
5252.53 6 Note 072(C4) 66
5263.57 5 Note 071(B3) 72
5264.54 5 Note 069(A3) 0
5299.74 0 Note 089(F5) 38
5300.69 0 Note 086(D5) 41
5301.81 0 Note 101(F6) 60
5309.49 0 Note 100(E6) 0
5321.65 7 Note 041(F1) 0
5327.25 0 Note 089(F5) 0
5328.05 0 Note 086(D5) 0
5338.64 6 Note 076(E4) 73
5343.60 6 Note 072(C4) 0
5348.70 0 Note 083(B4) 0
5358.62 5 Note 072(C4) 77
5362.61 5 Note 071(B3) 0
5370.45 5 Note 029(F0) 0
5375.09 0 Note 100(E6) 57
5375.40 0 Note 089(F5) 34
5376.20 0 Note 083(B4) 30
5377.16 0 Note 086(D5) 40
5386.93 0 Note 101(F6) 0
5398.62 0 Note 089(F5) 0
5398.76 0 Note 086(D5) 0
5427.40 0 Note 083(B4) 0
5434.61 7 Note 040(E1) 56
5434.76 7 Pedal Sustain OFF
5436.52 7 Note 052(E2) 70
5439.58 6 Note 074(D4) 73
5442.66 6 Note 076(E4) 0
5445.64 7 Note 053(F2) 0
5446.61 6 Note 048(C2) 33
5447.08 0 Note 089(F5) 38
5447.63 0 Note 083(B4) 33
5448.53 5 Note 024(C0) 55
5448.84 0 Note 086(D5) 44
5449.49 0 Note 098(D6) 58
5451.56 5 Note 067(G3) 66
5452.61 6 Note 060(C3) 0
5459.58 5 Note 072(C4) 0
5460.04 0 Note 100(E6) 0
5465.48 7 Pedal Sustain ON
5470.44 0 Note 089(F5) 0
5471.08 0 Note 086(D5) 0
5486.60 6 Note 048(C2) 0
5519.40 0 Note 086(D5) 45
5520.36 0 Note 089(F5) 37
5522.62 6 Note 072(C4) 70
5525.64 0 Note 096(C6) 53
5529.17 0 Note 098(D6) 0
5530.60 6 Note 074(D4) 0
5541.48 5 Note 064(E3) 42
5541.87 0 Note 086(D5) 0
5542.60 0 Note 089(F5) 0
5545.48 5 Note 067(G3) 0
5577.48 5 Note 064(E3) 0
5602.77 0 Note 100(E6) 52
5604.68 0 Note 089(F5) 33
5606.31 0 Note 086(D5) 40
5606.60 6 Note 074(D4) 76
5611.58 6 Note 072(C4) 0
5612.54 0 Note 096(C6) 0
5629.18 0 Note 089(F5) 0
5629.48 7 Note 040(E1) 0
5631.42 0 Note 086(D5) 0
5632.52 5 Note 060(C3) 56
5636.54 7 Note 052(E2) 0
5672.86 0 Note 083(B4) 0
5693.34 0 Note 079(G4) 0
5696.37 0 Note 096(C6) 45
5706.76 0 Note 100(E6) 0
5708.52 5 Note 024(C0) 0
5716.53 7 Note 041(F1) 67
5716.68 7 Note 053(F2) 69
5716.84 7 Pedal Sustain OFF
5717.80 6 Note 072(C4) 73
5719.56 6 Note 074(D4) 0
5725.48 5 Note 029(F0) 59
5729.48 5 Note 069(A3) 85
5731.57 5 Note 060(C3) 0
5743.56 7 Pedal Sustain ON
5780.53 0 Note 084(C5) 37
5784.37 0 Note 098(D6) 44
5793.01 0 Note 096(C6) 0
5830.60 5 Note 071(B3) 58
5833.47 5 Note 069(A3) 0
5849.07 0 Note 100(E6) 48
5849.79 0 Note 088(E5) 35
5851.56 0 Note 091(G5) 35
5856.37 0 Note 098(D6) 0
5874.93 0 Note 091(G5) 0
5877.00 0 Note 088(E5) 0
5900.53 7 Note 041(F1) 0
5923.59 5 Note 071(B3) 0
5924.51 5 Note 072(C4) 66
5926.59 6 Note 072(C4) 0
5928.69 0 Note 091(G5) 35
5929.47 0 Note 088(E5) 34
5930.44 0 Note 101(F6) 59
5939.57 0 Note 100(E6) 0
5953.01 0 Note 088(E5) 0
5956.20 0 Note 091(G5) 0
5979.73 0 Note 084(C5) 0
5980.51 5 Note 072(C4) 0
5995.39 0 Note 101(F6) 0
6002.60 7 Pedal Sustain OFF
6006.60 6 Note 048(C2) 46
6006.75 6 Note 060(C3) 40
6008.53 6 Note 072(C4) 71
6013.47 7 Note 043(G1) 66
6016.51 7 Note 055(G2) 78
6016.67 5 Note 029(F0) 0
6017.15 0 Note 101(F6) 35
6019.41 0 Note 084(C5) 34
6020.51 5 Note 024(C0) 45
6024.53 7 Note 053(F2) 0
6030.59 5 Note 079(G4) 66
6030.91 5 Note 077(F4) 69
6032.59 7 Pedal Sustain ON
6050.75 0 Note 084(C5) 0
6056.99 0 Note 101(F6) 0
6058.59 5 Note 079(G4) 0
6099.55 6 Note 067(G3) 65
6103.57 6 Note 072(C4) 0
6126.60 5 Note 076(E4) 67
6131.56 5 Note 077(F4) 0
6158.59 6 Note 060(C3) 0
6189.63 6 Note 067(G3) 0
6191.56 7 Note 043(G1) 0
6207.40 7 Note 055(G2) 0
6207.87 0 Note 084(C5) 35
6208.03 0 Note 072(C4) 36
6210.59 6 Note 048(C2) 0
6214.43 5 Note 072(C4) 67
6221.63 5 Note 076(E4) 0
6269.00 0 Note 084(C5) 0
6287.88 0 Note 072(C4) 0
6296.68 5 Note 024(C0) 0
6300.68 7 Note 038(D1) 60
6300.70 7 Note 050(D2) 72
6303.55 5 Note 026(D0) 47
6305.63 7 Pedal Sustain OFF
6305.78 5 Note 066(F#3) 72
6307.55 5 Note 072(C4) 0
6317.10 0 Note 089(F5) 56
6319.39 0 Note 084(C5) 38
6325.00 0 Note 072(C4) 27
6334.58 7 Pedal Sustain ON
6369.46 6 Bank MSB 0
6369.63 6 Bank LSB 112
6369.65 6 Program Change [0,112,58] 087 Tuba (TRUMPET)
6389.69 6 Voice Volume 127
6389.71 6 Voice Reverb Level 18
6392.03 0 Note 093(A5) 71
6403.22 0 Note 084(C5) 0
6403.70 0 Note 072(C4) 0
6407.55 5 Note 069(A3) 56
6416.68 5 Note 066(F#3) 0
6460.84 0 Note 089(F5) 0
6486.58 0 Note 093(A5) 0
6487.06 0 Note 076(E4) 16
6488.88 0 Note 089(F5) 51
6488.90 0 Note 091(G5) 64
6489.94 0 Note 095(B5) 52
6492.50 0 Note 079(G4) 32
6508.73 7 Note 050(D2) 0
6509.46 0 Note 079(G4) 0
6510.58 7 Note 038(D1) 0
6513.47 5 Note 072(C4) 64
6514.59 5 Note 069(A3) 0
6524.20 0 Note 089(F5) 0
6541.94 0 Note 095(B5) 0
6542.26 0 Note 091(G5) 0
6542.90 0 Note 076(E4) 0
6610.58 5 Note 071(B3) 79
6610.90 5 Note 031(G0) 52
6611.22 5 Note 026(D0) 0
6616.66 5 Note 072(C4) 0
6617.46 6 Note 036(C1) 38
6620.67 6 Note 048(C2) 60
6672.99 0 Release Time 0
6673.14 1 Release Time 0
6673.15 2 Release Time 0
6673.30 0 Bank MSB 0
6673.46 0 Bank LSB 112
6673.62 0 Program Change [0,112,71] 078 Clarinet (SAXOPHONE)
6673.78 1 Bank MSB 0
6673.78 1 Bank LSB 114
6673.93 1 Program Change [0,114,66] 076 Breathy Tenor Sax (SAXOPHONE)
6674.42 0 RPN MSB 0
6674.43 0 RPN LSB 0
6674.58 0 Data Entry MSB: Pitch Bend Range 2
6674.74 1 RPN MSB 0
6674.74 1 RPN LSB 0
6674.90 1 Data Entry MSB: Pitch Bend Range 2
6675.06 2 RPN MSB 0
6675.21 2 RPN LSB 0
6675.22 2 Data Entry MSB: Pitch Bend Range 2
6675.70 Reverb Type 03(Hall3)
6676.34 Chorus Type 1(Chorus1)
6688.67 0 Voice Volume 103
6688.82 0 Voice Reverb Level 40
6688.98 1 Voice Volume 66
6688.99 1 Voice Reverb Level 40
6689.14 1 Voice Chorus Level 20
6732.67 6 Note 036(C1) 0
6754.58 5 Note 071(B3) 0
6789.45 6 Note 047(B1) 69
6796.51 6 Note 048(C2) 0
6814.58 5 Note 067(G3) 79
6814.73 1 Note 055(G2) 62
6815.05 0 Note 067(G3) 62
6834.57 5 Note 031(G0) 0
6872.51 6 Note 047(B1) 0
6895.61 6 Note 048(C2) 76
6898.73 1 Note 060(C3) 54
6898.89 0 Note 072(C4) 54
6900.34 1 Note 036(C1) 53
6900.56 1 Note 052(E2) 58
6900.66 0 Note 048(C2) 53
6900.81 0 Note 064(E3) 58
6901.61 1 Note 048(C2) 41
6902.10 0 Note 060(C3) 41
6907.55 7 Note 036(C1) 58
6908.49 7 Pedal Sustain OFF
6913.45 7 Note 048(C2) 38
6920.53 5 Note 069(A3) 82
6926.58 5 Note 067(G3) 0
6931.55 5 Note 029(F0) 86
6939.53 7 Pedal Sustain ON
6979.53 1 Note 055(G2) 0
6979.70 0 Note 067(G3) 0
7007.53 5 Note 071(B3) 85
7010.59 5 Note 069(A3) 0
7022.41 1 Note 052(E2) 0
7022.57 0 Note 064(E3) 0
7070.89 1 Note 060(C3) 0
7071.00 0 Note 072(C4) 0
7094.58 5 Note 072(C4) 78
7095.53 5 Note 071(B3) 0
7101.45 7 Note 036(C1) 0
7102.73 1 Note 060(C3) 73
7102.89 0 Note 072(C4) 73
7115.54 7 Note 048(C2) 0
7123.54 6 Note 048(C2) 0
7180.34 1 Note 036(C1) 0
7180.36 0 Note 048(C2) 0
7181.44 6 Note 024(C0) 51
7182.40 7 Note 031(G0) 64
7182.56 6 Note 048(C2) 47
7182.73 6 Note 036(C1) 49
7183.86 7 Note 043(G1) 79
7184.01 6 Note 040(E1) 52
7184.80 7 Pedal Sustain OFF
7185.29 1 Note 048(C2) 0
7185.44 0 Note 060(C3) 0
7186.40 5 Note 028(E0) 47
7187.04 1 Note 043(G1) 54
7187.36 0 Note 055(G2) 54
7187.68 1 Note 059(B2) 65
7188.00 0 Note 071(B3) 65
7188.66 5 Note 067(G3) 71
7189.44 5 Note 029(F0) 0
7189.76 5 Note 072(C4) 0
7195.21 1 Note 060(C3) 0
7195.36 0 Note 072(C4) 0
7209.45 7 Pedal Sustain ON
7221.61 1 Note 059(B2) 0
7221.76 0 Note 071(B3) 0
7236.49 6 Pedal Sustain ON
7258.58 1 Note 043(G1) 0
7258.72 0 Note 055(G2) 0
7275.53 5 Note 071(B3) 79
7285.60 5 Note 067(G3) 0
7287.59 6 Pedal Sustain OFF
7367.54 7 Note 043(G1) 0
7369.44 5 Note 072(C4) 63
7370.56 7 Note 031(G0) 0
7371.52 5 Note 071(B3) 0
7419.52 6 Note 040(E1) 0
7423.53 6 Note 024(C0) 0
7424.48 6 Note 048(C2) 0
7425.44 6 Note 036(C1) 0
7451.54 5 Note 072(C4) 0
7452.48 7 Note 029(F0) 70
7453.44 5 Note 065(F3) 73
7454.40 5 Note 028(E0) 0
7457.44 5 Note 026(D0) 55
7465.44 7 Pedal Sustain OFF
7495.52 7 Pedal Sustain ON
7551.22 1 Note 036(C1) 69
7551.36 0 Note 048(C2) 69
7559.52 5 Note 071(B3) 72
7567.53 5 Note 065(F3) 0
7632.81 1 Note 036(C1) 0
7632.96 0 Note 048(C2) 0
7641.44 7 Note 053(F2) 49
7641.59 7 Note 029(F0) 0
7645.44 6 Bank MSB 0
7645.59 6 Bank LSB 112
7645.60 6 Program Change [0,112,10] 119 Music Box (PERCUSSION)
7659.58 6 Voice Volume 100
7659.60 6 Voice Reverb Level 20
7662.40 5 Note 072(C4) 72
7663.52 5 Note 071(B3) 0
7665.29 0 Release Time 46
7665.43 1 Release Time 46
7665.59 2 Release Time 46
7665.75 0 Bank MSB 0
7665.76 0 Bank LSB 112
7665.91 0 Program Change [0,112,40] 060 Violin (STRINGS)
7666.07 1 Bank MSB 0
7666.08 1 Bank LSB 65
7666.20 1 Program Change [0,65,19] 201 Tremolo Organ Flute (XG ORGAN)
7666.39 2 Bank MSB 0
7666.55 2 Bank LSB 112
7666.56 2 Program Change [0,112,0] 003 Grand Piano (PIANO)
7666.87 0 RPN MSB 0
7666.88 0 RPN LSB 0
7667.03 0 Data Entry MSB: Pitch Bend Range 5
7667.19 1 RPN MSB 0
7667.20 1 RPN LSB 0
7667.35 1 Data Entry MSB: Pitch Bend Range 5
7667.51 2 RPN MSB 0
7667.67 2 RPN LSB 0
7667.68 2 Data Entry MSB: Pitch Bend Range 5
7668.31 Reverb Type ---(Room)
7668.79 Chorus Type ---(Celeste)
7680.65 0 Voice Volume 54
7680.67 0 Voice Pan 92
7680.79 0 Voice Reverb Level 78
7680.95 0 Voice Chorus Level 103
7681.12 1 Voice Volume 95
7681.13 1 Voice Pan 48
7681.27 1 Voice Reverb Level 17
7681.43 1 Voice Chorus Level 82
7681.44 2 Voice Volume 108
7681.59 2 Voice Reverb Level 32
7681.75 2 Voice Chorus Level 127
7737.43 7 Note 027(Eb0) 55
7737.59 6 Pedal Sustain ON
7739.53 7 Note 055(G2) 55
7740.32 7 Note 046(Bb1) 55
7741.43 7 Pedal Sustain OFF
7744.49 7 Note 053(F2) 0
7754.41 5 Note 072(C4) 0
7754.71 5 Note 027(Eb0) 59
7757.43 5 Note 067(G3) 72
7757.75 5 Note 026(D0) 0
7769.43 6 Note 063(Eb3) 30
7770.55 2 Note 051(Eb2) 49
7772.31 0 Note 051(Eb2) 52
7772.47 7 Pedal Sustain ON
7815.36 6 Pedal Sustain OFF
7833.43 6 Note 075(Eb4) 60
7835.52 6 Note 063(Eb3) 0
7842.39 5 Note 074(D4) 67
7852.48 5 Note 067(G3) 0
7853.02 0 Note 063(Eb3) 81
7880.49 6 Pedal Sustain ON
7897.44 6 Pedal Sustain OFF
7909.43 6 Note 082(Bb4) 68
7912.52 6 Note 075(Eb4) 0
7913.43 7 Note 046(Bb1) 0
7914.39 7 Note 027(Eb0) 0
7915.35 7 Note 055(G2) 0
7932.50 5 Note 027(Eb0) 0
7936.79 0 Note 062(D3) 60
7939.84 0 Note 063(Eb3) 0
7941.43 5 Note 075(Eb4) 75
7949.59 5 Note 074(D4) 0
7964.48 6 Note 082(Bb4) 0
8031.84 0 Note 063(Eb3) 72
8033.43 7 Note 032(G#0) 40
8033.59 7 Pedal Sustain OFF
8036.50 5 Note 020(G#-1) 60
8037.43 7 Note 048(C2) 69
8038.87 0 Note 062(D3) 0
8040.47 6 Note 087(Eb5) 69
8041.43 5 Note 075(Eb4) 0
8042.39 5 Note 072(C4) 62
8060.47 7 Pedal Sustain ON
8134.39 5 Note 074(D4) 79
8142.55 6 Note 087(Eb5) 0
8142.86 5 Note 072(C4) 0
8226.38 5 Note 075(Eb4) 72
8235.52 5 Note 074(D4) 0
8243.51 7 Note 048(C2) 0
8248.46 7 Note 032(G#0) 0
8288.30 0 Note 063(Eb3) 0
8313.42 7 Pedal Sustain OFF
8314.40 7 Note 053(F2) 64
8314.54 7 Note 034(Bb0) 59
8317.42 5 Note 022(Bb-1) 65
8320.48 6 Note 084(C5) 69
8321.42 6 Note 075(Eb4) 56
8322.38 5 Note 079(G4) 78
8323.34 6 Note 074(D4) 52
8323.50 5 Note 020(G#-1) 0
8324.48 0 Note 058(Bb2) 77
8327.51 5 Note 075(Eb4) 0
8329.42 6 Note 074(D4) 0
8340.48 7 Pedal Sustain ON
8404.48 6 Note 084(C5) 0
8405.42 6 Note 080(G#4) 68
8420.47 6 Note 075(Eb4) 0
8484.31 6 Note 080(G#4) 0
8496.46 6 Note 084(C5) 66
8531.50 7 Note 034(Bb0) 0
8535.34 5 Note 077(F4) 88
8535.66 5 Note 079(G4) 0
8568.47 7 Note 053(F2) 0
8593.58 6 Note 082(Bb4) 60
8594.37 6 Note 077(F4) 47
8594.53 6 Note 084(C5) 0
8595.33 6 Note 065(F3) 39
8603.51 0 Note 051(Eb2) 0
8613.11 2 Note 051(Eb2) 0
8621.43 5 Note 022(Bb-1) 0
8626.38 5 Note 027(Eb0) 69
8630.37 5 Note 075(Eb4) 92
8632.46 5 Note 077(F4) 0
8640.46 7 Pedal Sustain OFF
8650.37 0 Note 058(Bb2) 0
8659.50 7 Pedal Sustain ON
8773.57 6 Note 082(Bb4) 0
8846.37 6 Note 065(F3) 0
8846.53 6 Note 077(F4) 0
8857.58 stop time=77.45344716099862
8857.89 5 Note 027(Eb0) 0
8858.05 5 Note 075(Eb4) 0
8859.01 7 Pedal Sustain OFF
8864.13 Reverb Type 09(Plate2)
8864.80 Chorus Type 3(Flanger1)
8865.57 7 Bank MSB 0
8865.73 7 Bank LSB 0
8865.89 7 Program Change [0,0,22] 205 Harmonica (XG ORGAN)
8866.05 7 RPN MSB 0
8866.06 7 RPN LSB 0
8866.21 7 Data Entry MSB: Pitch Bend Range 2
8866.37 7 RPN LSB 127
8866.38 7 RPN MSB 127
8866.53 7 Voice Reverb Level 28
8866.69 7 Voice Chorus Level 0
8866.85 7 Voice Pan 64
8867.01 7 Release Time 0
8867.65 7 Pitch Bend 0
8868.29 6 Bank MSB 0
8868.30 6 Bank LSB 112
8868.45 6 Program Change [0,112,62] 091 Synth Brass (BRASS)
8868.61 6 RPN MSB 0
8868.77 6 RPN LSB 0
8868.78 6 Data Entry MSB: Pitch Bend Range 2
8868.93 6 RPN LSB 127
8869.09 6 RPN MSB 127
8869.10 6 Voice Reverb Level 32
8869.25 6 Voice Chorus Level 54
8869.42 6 Voice Pan 43
8869.70 6 Release Time 0
8870.21 6 Pitch Bend 0
8871.17 5 Bank MSB 0
8871.18 5 Bank LSB 112
8871.33 5 Program Change [0,112,0] 003 Grand Piano (PIANO)
8871.49 5 RPN MSB 0
8871.65 5 RPN LSB 0
8871.81 5 Data Entry MSB: Pitch Bend Range 2
8871.82 5 RPN LSB 127
8871.97 5 RPN MSB 127
8872.13 5 Voice Reverb Level 20
8872.29 5 Voice Chorus Level 41
8872.45 5 Voice Pan 54
8872.46 5 Release Time 0
8873.25 5 Pitch Bend 0
8873.73 4 Bank MSB 0
8873.74 4 Bank LSB 113
8873.89 4 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
8874.05 4 RPN MSB 0
8874.21 4 RPN LSB 0
8874.38 4 Data Entry MSB: Pitch Bend Range 5
8874.39 4 RPN LSB 127
8874.60 4 RPN MSB 127
8874.70 4 Voice Reverb Level 20
8874.86 4 Voice Chorus Level 0
8875.01 4 Voice Pan 64
8875.03 4 Release Time 46
8875.65 4 Pitch Bend 8190
8877.89 Reverb Type 09(Plate2)
8878.37 Chorus Type 3(Flanger1)

Questions: How is the Harmony handled?

How does the Octave work with drum kits?

Now recording both a style and track 1 at the same time. It's gonna sound terrible, but we aren't listening to this for fun.

Initial settings:

  • Style no: 102 (6/8 March)
  • Pattern: Intro A - I'll be changing this several times: Intro A - Main A - Fill B - Main B - Ending - Ending rit. Fill A, Main A, Ending, and then trying to prolong the ending by switching styles (Style switches don't get recorded, do they?)

  • Style volume: 30

  • Reverb Type: 06 Stage1

  • Chorus Type: 2 Chorus2

Initial Voice settings

  • Harmony: ON,
  • Harmony Type: Trio
  • Harmony Volume: 96

  • M. Octave: -1

  • D. Octave: 0

  • D. Voice: 007 CP-80

  • M.Voice: 301 Warm Trumpet

Okay, so it seems they don't let you change the style while recording. Makes sense.


In [14]:
!python collect.py -g DGX > documents/data/user_song_tests/5track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [15]:
!python extractor.py documents/data/user_song_tests/5track.syx -S 2 -s 2 -n documents/data/user_song_tests/5track_{}.mid


               Recorded   Duration       Size
 User Song 2       True         23       9245
     Track A       True         23        422
     Track 1       True         23       1398
     Track 2       True          6       1946
     Track 3       True          8       1999
     Track 4       True          8       1773
     Track 5       True          9       1693


In [16]:
mf5 = mido.MidiFile('documents/data/user_song_tests/5track_2.mid')

In [19]:
mf5.tracks[2:] == mf4.tracks[1:]


Out[19]:
True

In [21]:
trackprint(mf5.tracks[1])


0 Reverb Type 06(Stage1)
0 Chorus Type 2(Chorus2)
0 <meta message text text=' YAMAHA ' time=0>
0 0 Bank MSB 0
0 0 Bank LSB 32
0 0 Program Change [0,32,56] 301 Warm Trumpet (XG BRASS)
0 A Bank MSB 0
0 A Bank LSB 113
0 A Program Change [0,113,2] 007 CP 80 (PIANO)
0 0 RPN MSB 0
0 0 RPN LSB 0
0 0 Data Entry MSB: Pitch Bend Range 2
0 0 RPN LSB 127
0 0 RPN MSB 127
0 A RPN MSB 0
0 A RPN LSB 0
0 A Data Entry MSB: Pitch Bend Range 2
0 A RPN LSB 127
0 A RPN MSB 127
0 0 Voice Reverb Level 54
0 0 Voice Chorus Level 44
0 0 [Control 94] 0
0 0 Voice Volume 104
0 0 Voice Pan 64
0 0 Expression 127
0 0 Release Time 0
0 0 Pedal Sustain OFF
0 A Voice Reverb Level 32
0 A Voice Chorus Level 0
0 A [Control 94] 0
0 A Voice Volume 70
0 A Voice Pan 64
0 A Expression 127
0 A Release Time 0
0 A Pedal Sustain OFF
0 polytouch channel=0 note=0 value=63 time=0
0 0 Pitch Bend 0
0 A Pitch Bend 0
1715 A Note 072(C4) 76
1715 0 Note 067(G3) 57
1715 0 Note 064(E3) 57
1715 0 Note 072(C4) 76
1796 A Note 072(C4) 0
1796 0 Note 072(C4) 0
1796 0 Note 067(G3) 0
1796 0 Note 064(E3) 0
1833 A Note 072(C4) 93
1833 0 Note 067(G3) 69
1833 0 Note 064(E3) 69
1833 0 Note 072(C4) 93
1896 A Note 072(C4) 0
1896 0 Note 072(C4) 0
1896 0 Note 067(G3) 0
1896 0 Note 064(E3) 0
1896 A Note 076(E4) 89
1896 0 Note 072(C4) 66
1896 0 Note 067(G3) 66
1896 0 Note 076(E4) 89
1919 A Note 076(E4) 0
1919 0 Note 076(E4) 0
1919 0 Note 072(C4) 0
1919 0 Note 067(G3) 0
1923 A Note 079(G4) 88
1923 0 Note 076(E4) 66
1923 0 Note 072(C4) 66
1923 0 Note 079(G4) 88
2017 A Note 079(G4) 0
2017 0 Note 079(G4) 0
2017 0 Note 076(E4) 0
2017 0 Note 072(C4) 0
2679 A Note 081(A4) 82
2679 0 Note 077(F4) 61
2679 0 Note 072(C4) 61
2679 0 Note 081(A4) 82
2852 A Note 079(G4) 66
2852 0 Note 077(F4) 0
2852 0 Note 072(C4) 0
2852 0 Note 072(C4) 49
2852 0 Note 069(A3) 49
2852 0 Note 079(G4) 66
2854 A Note 081(A4) 0
2854 0 Note 081(A4) 0
2880 A Note 077(F4) 74
2880 0 Note 072(C4) 0
2880 0 Note 069(A3) 0
2880 0 Note 072(C4) 55
2880 0 Note 069(A3) 55
2880 0 Note 077(F4) 74
2884 A Note 079(G4) 0
2884 0 Note 079(G4) 0
2884 0 Note 067(G3) 55
2884 0 Note 069(A3) 0
2950 A Note 077(F4) 0
2950 0 Note 077(F4) 0
2950 0 Note 072(C4) 0
2950 0 Note 067(G3) 0
2970 A Note 076(E4) 89
2970 0 Note 072(C4) 66
2970 0 Note 067(G3) 66
2970 0 Note 076(E4) 89
3098 A Note 076(E4) 0
3098 0 Note 076(E4) 0
3098 0 Note 072(C4) 0
3098 0 Note 067(G3) 0
3114 A Note 077(F4) 86
3114 0 Note 072(C4) 64
3114 0 Note 067(G3) 64
3114 0 Note 077(F4) 86
3131 A Note 077(F4) 0
3131 0 Note 077(F4) 0
3131 0 Note 072(C4) 0
3131 0 Note 067(G3) 0
3143 A Note 076(E4) 97
3143 0 Note 072(C4) 72
3143 0 Note 067(G3) 72
3143 0 Note 076(E4) 97
3267 A Note 076(E4) 0
3267 0 Note 076(E4) 0
3267 0 Note 072(C4) 0
3267 0 Note 067(G3) 0
3547 A Note 076(E4) 82
3547 0 Note 072(C4) 61
3547 0 Note 069(A3) 61
3547 0 Note 076(E4) 82
3578 A Note 079(G4) 51
3578 0 Note 072(C4) 0
3578 0 Note 069(A3) 0
3578 0 Note 072(C4) 38
3578 0 Note 069(A3) 38
3578 0 Note 079(G4) 51
3585 A Note 076(E4) 0
3585 0 Note 076(E4) 0
3610 A Note 081(A4) 39
3610 0 Note 072(C4) 0
3610 0 Note 069(A3) 0
3610 0 Note 077(F4) 29
3610 0 Note 072(C4) 29
3610 0 Note 081(A4) 39
3619 A Note 079(G4) 0
3619 0 Note 079(G4) 0
3647 A Note 083(B4) 96
3647 0 Note 077(F4) 0
3647 0 Note 072(C4) 0
3647 0 Note 077(F4) 72
3647 0 Note 072(C4) 72
3647 0 Note 083(B4) 96
3651 A Note 081(A4) 0
3651 0 Note 081(A4) 0
3704 A Note 083(B4) 0
3704 0 Note 083(B4) 0
3704 0 Note 077(F4) 0
3704 0 Note 072(C4) 0
3709 A Note 079(G4) 88
3709 0 Note 072(C4) 66
3709 0 Note 069(A3) 66
3709 0 Note 079(G4) 88
3735 A Note 079(G4) 0
3735 0 Note 079(G4) 0
3735 0 Note 072(C4) 0
3735 0 Note 069(A3) 0
3737 A Note 083(B4) 85
3737 0 Note 077(F4) 63
3737 0 Note 072(C4) 63
3737 0 Note 083(B4) 85
3760 A Note 081(A4) 75
3760 0 Note 077(F4) 0
3760 0 Note 072(C4) 0
3760 0 Note 077(F4) 56
3760 0 Note 072(C4) 56
3760 0 Note 081(A4) 75
3768 A Note 083(B4) 0
3768 0 Note 083(B4) 0
3792 A Note 079(G4) 81
3792 0 Note 077(F4) 0
3792 0 Note 072(C4) 0
3792 0 Note 072(C4) 60
3792 0 Note 069(A3) 60
3792 0 Note 079(G4) 81
3797 A Note 081(A4) 0
3797 0 Note 081(A4) 0
3825 A Note 083(B4) 95
3825 0 Note 072(C4) 0
3825 0 Note 069(A3) 0
3825 0 Note 077(F4) 71
3825 0 Note 072(C4) 71
3825 0 Note 083(B4) 95
3827 A Note 079(G4) 0
3827 0 Note 079(G4) 0
4008 A Note 083(B4) 0
4008 0 Note 083(B4) 0
4008 0 Note 077(F4) 0
4008 0 Note 072(C4) 0
4853 A Note 076(E4) 44
4853 0 Note 072(C4) 33
4853 0 Note 067(G3) 33
4853 0 Note 076(E4) 44
4868 A Note 079(G4) 70
4868 0 Note 072(C4) 0
4868 0 Note 067(G3) 0
4868 0 Note 076(E4) 52
4868 0 Note 072(C4) 52
4868 0 Note 079(G4) 70
4873 A Note 076(E4) 0
4873 0 Note 076(E4) 0
4889 A Note 079(G4) 0
4889 0 Note 079(G4) 0
4889 0 Note 076(E4) 0
4889 0 Note 072(C4) 0
4891 A Note 084(C5) 97
4891 0 Note 079(G4) 72
4891 0 Note 076(E4) 72
4891 0 Note 084(C5) 97
4989 A Note 084(C5) 0
4989 0 Note 084(C5) 0
4989 0 Note 079(G4) 0
4989 0 Note 076(E4) 0
5012 A Note 086(D5) 89
5012 0 Note 079(G4) 66
5012 0 Note 076(E4) 66
5012 0 Note 086(D5) 89
5034 A Note 086(D5) 0
5034 0 Note 086(D5) 0
5034 0 Note 079(G4) 0
5034 0 Note 076(E4) 0
5037 A Note 084(C5) 95
5037 0 Note 079(G4) 71
5037 0 Note 076(E4) 71
5037 0 Note 084(C5) 95
5087 A Note 084(C5) 0
5087 0 Note 084(C5) 0
5087 0 Note 079(G4) 0
5087 0 Note 076(E4) 0
5121 A Note 084(C5) 95
5121 0 Note 079(G4) 71
5121 0 Note 076(E4) 71
5121 0 Note 084(C5) 95
5330 A Note 084(C5) 0
5330 0 Note 084(C5) 0
5330 0 Note 079(G4) 0
5330 0 Note 076(E4) 0
5443 A Note 081(A4) 100
5443 0 Note 076(E4) 75
5443 0 Note 072(C4) 75
5443 0 Note 081(A4) 100
5531 A Note 081(A4) 0
5531 0 Note 081(A4) 0
5531 0 Note 076(E4) 0
5531 0 Note 072(C4) 0
5534 A Note 079(G4) 96
5534 0 Note 076(E4) 72
5534 0 Note 072(C4) 72
5534 0 Note 079(G4) 96
5667 A Note 079(G4) 0
5667 0 Note 079(G4) 0
5667 0 Note 076(E4) 0
5667 0 Note 072(C4) 0
5886 A Note 081(A4) 69
5886 0 Note 077(F4) 51
5886 0 Note 072(C4) 51
5886 0 Note 081(A4) 69
5913 A Note 081(A4) 0
5913 0 Note 081(A4) 0
5913 0 Note 077(F4) 0
5913 0 Note 072(C4) 0
5919 A Note 089(F5) 95
5919 0 Note 084(C5) 71
5919 0 Note 081(A4) 71
5919 0 Note 089(F5) 95
6020 A Note 088(E5) 81
6020 0 Note 084(C5) 0
6020 0 Note 081(A4) 0
6020 0 Note 084(C5) 60
6020 0 Note 081(A4) 60
6020 0 Note 088(E5) 81
6027 A Note 089(F5) 0
6027 0 Note 089(F5) 0
6123 A Note 086(D5) 97
6123 0 Note 084(C5) 0
6123 0 Note 081(A4) 0
6123 0 Note 081(A4) 72
6123 0 Note 077(F4) 72
6123 0 Note 086(D5) 97
6128 A Note 088(E5) 0
6128 0 Note 088(E5) 0
6210 A Note 084(C5) 83
6210 0 Note 081(A4) 0
6210 0 Note 077(F4) 0
6210 0 Note 081(A4) 62
6210 0 Note 077(F4) 62
6210 0 Note 084(C5) 83
6210 0 Note 079(G4) 62
6210 0 Note 081(A4) 0
6210 0 Note 076(E4) 62
6210 0 Note 077(F4) 0
6218 A Note 086(D5) 0
6218 0 Note 086(D5) 0
6284 A Note 084(C5) 0
6284 0 Note 084(C5) 0
6284 0 Note 079(G4) 0
6284 0 Note 076(E4) 0
6624 A Note 081(A4) 90
6624 0 Note 076(E4) 67
6624 0 Note 072(C4) 67
6624 0 Note 081(A4) 90
6646 A Note 084(C5) 65
6646 0 Note 076(E4) 0
6646 0 Note 072(C4) 0
6646 0 Note 079(G4) 48
6646 0 Note 076(E4) 48
6646 0 Note 084(C5) 65
6646 A Note 083(B4) 68
6646 0 Note 079(G4) 0
6646 0 Note 076(E4) 0
6646 0 Note 079(G4) 51
6646 0 Note 076(E4) 51
6646 0 Note 083(B4) 68
6650 A Note 081(A4) 0
6650 0 Note 081(A4) 0
6666 A Note 084(C5) 0
6666 0 Note 084(C5) 0
6667 A Note 083(B4) 0
6667 0 Note 083(B4) 0
6667 0 Note 079(G4) 0
6667 0 Note 076(E4) 0
6671 A Note 084(C5) 66
6671 0 Note 079(G4) 49
6671 0 Note 076(E4) 49
6671 0 Note 084(C5) 66
6754 A Note 084(C5) 0
6754 0 Note 084(C5) 0
6754 0 Note 079(G4) 0
6754 0 Note 076(E4) 0
6888 A Note 084(C5) 76
6888 0 Note 079(G4) 57
6888 0 Note 076(E4) 57
6888 0 Note 084(C5) 76
7040 A Note 084(C5) 0
7040 0 Note 084(C5) 0
7040 0 Note 079(G4) 0
7040 0 Note 076(E4) 0
7202 A Note 079(G4) 102
7202 0 Note 076(E4) 76
7202 0 Note 072(C4) 76
7202 0 Note 079(G4) 102
7452 A Note 079(G4) 0
7452 0 Note 079(G4) 0
7452 0 Note 076(E4) 0
7452 0 Note 072(C4) 0
7454 A Note 077(F4) 97
7454 0 Note 072(C4) 72
7454 0 Note 067(G3) 72
7454 0 Note 077(F4) 97
7752 A Note 077(F4) 0
7752 0 Note 077(F4) 0
7752 0 Note 072(C4) 0
7752 0 Note 067(G3) 0
7754 A Note 076(E4) 96
7754 0 Note 072(C4) 72
7754 0 Note 067(G3) 72
7754 0 Note 076(E4) 96
7842 0 Note 072(C4) 0
7842 0 Note 067(G3) 0
7981 A Note 076(E4) 0
7981 0 Note 076(E4) 0
8189 0 Note 074(D4) 58
8189 A Note 074(D4) 58
8192 0 Note 076(E4) 47
8192 A Note 076(E4) 47
8198 0 Note 076(E4) 0
8198 A Note 076(E4) 0
8223 0 Note 077(F4) 83
8223 A Note 077(F4) 83
8227 0 Note 074(D4) 0
8227 A Note 074(D4) 0
8284 0 Note 077(F4) 0
8284 A Note 077(F4) 0
9216 0 All Sound OFF
9216 A All Sound OFF
9216 <meta message end_of_track time=0>

In [29]:
with open('documents/data/user_song_tests/5track_rec.txt') as infile:
    in5 = list(mido_util.readin_strings(infile))

In [39]:
def channelize(msgs, ch=frozenset([0, 1, 2])):
    for m in msgs:
        try:
            c = m.channel
        except AttributeError:
            yield m
        else:
            if c in ch:
                yield m
                
def cprint(msgs, ch=frozenset([0, 1, 2]), *args, **kwargs):
    return mprint(channelize(msgs, ch), *args, **kwargs)

In [41]:
cprint(in5, {0,1,2}, 96, 100)


627.21 Reverb Type 09(Plate2)
627.67 Chorus Type 3(Flanger1)
640.00 Reverb Type 09(Plate2)
640.47 Chorus Type 3(Flanger1)
2394.22 Chorus Type 3(Flanger1)
5214.82 Chorus Type 4(Flanger2)
5263.30 Chorus Type 5(Off)
5334.34 Chorus Type 4(Flanger2)
5375.62 Chorus Type 3(Flanger1)
5414.01 Chorus Type 2(Chorus2)
5460.10 Chorus Type 1(Chorus1)
5527.14 Chorus Type 2(Chorus2)
5823.62 Reverb Type 08(Plate1)
5861.53 Reverb Type 07(Stage2)
5923.61 Reverb Type 06(Stage1)
0.00 start time=92.88281124500008
1717.10 1 Note 072(C4) 76
1717.24 0 Note 055(G2) 57
1717.41 0 Note 052(E2) 57
1717.42 0 Note 060(C3) 76
1797.88 1 Note 072(C4) 0
1798.04 0 Note 060(C3) 0
1798.05 0 Note 055(G2) 0
1798.20 0 Note 052(E2) 0
1834.95 1 Note 072(C4) 93
1835.01 0 Note 055(G2) 69
1835.16 0 Note 052(E2) 69
1835.37 0 Note 060(C3) 93
1898.53 1 Note 072(C4) 0
1898.68 0 Note 060(C3) 0
1898.69 0 Note 055(G2) 0
1898.84 0 Note 052(E2) 0
1899.00 1 Note 076(E4) 89
1899.38 0 Note 060(C3) 66
1899.39 0 Note 055(G2) 66
1899.49 0 Note 064(E3) 89
1921.41 1 Note 076(E4) 0
1921.56 0 Note 064(E3) 0
1921.72 0 Note 060(C3) 0
1921.88 0 Note 055(G2) 0
1925.25 1 Note 079(G4) 88
1925.56 0 Note 064(E3) 66
1925.57 0 Note 060(C3) 66
1925.72 0 Note 067(G3) 88
2019.49 1 Note 079(G4) 0
2019.64 0 Note 067(G3) 0
2019.80 0 Note 064(E3) 0
2019.81 0 Note 060(C3) 0
2681.41 1 Note 081(A4) 82
2681.55 0 Note 065(F3) 61
2681.71 0 Note 060(C3) 61
2681.87 0 Note 069(A3) 82
2853.72 1 Note 079(G4) 66
2854.03 0 Note 065(F3) 0
2854.04 0 Note 060(C3) 0
2854.19 0 Note 060(C3) 49
2854.35 0 Note 057(A2) 49
2854.36 0 Note 067(G3) 66
2856.27 1 Note 081(A4) 0
2856.66 0 Note 069(A3) 0
2884.11 1 Note 077(F4) 74
2884.43 0 Note 060(C3) 0
2884.59 0 Note 057(A2) 0
2884.75 0 Note 060(C3) 55
2884.75 0 Note 057(A2) 55
2884.91 0 Note 065(F3) 74
2887.81 1 Note 079(G4) 0
2890.84 0 Note 067(G3) 0
2890.99 0 Portamento Control 057(A2)
2891.28 0 Note 055(G2) 55
2891.48 0 Note 057(A2) 0
2952.43 1 Note 077(F4) 0
2952.75 0 Note 065(F3) 0
2952.76 0 Note 060(C3) 0
2952.91 0 Note 055(G2) 0
2971.64 1 Note 076(E4) 89
2971.79 0 Note 060(C3) 66
2971.95 0 Note 055(G2) 66
2971.95 0 Note 064(E3) 89
3100.28 1 Note 076(E4) 0
3100.42 0 Note 064(E3) 0
3100.59 0 Note 060(C3) 0
3100.74 0 Note 055(G2) 0
3116.28 1 Note 077(F4) 86
3116.30 0 Note 060(C3) 64
3116.42 0 Note 055(G2) 64
3116.58 0 Note 065(F3) 86
3133.56 1 Note 077(F4) 0
3133.72 0 Note 065(F3) 0
3133.74 0 Note 060(C3) 0
3133.87 0 Note 055(G2) 0
3145.06 1 Note 076(E4) 97
3145.39 0 Note 060(C3) 72
3145.54 0 Note 055(G2) 72
3145.55 0 Note 064(E3) 97
3269.38 1 Note 076(E4) 0
3269.55 0 Note 064(E3) 0
3269.70 0 Note 060(C3) 0
3269.86 0 Note 055(G2) 0
3549.06 1 Note 076(E4) 82
3549.22 0 Note 060(C3) 61
3549.38 0 Note 057(A2) 61
3549.54 0 Note 064(E3) 82
3580.76 1 Note 079(G4) 51
3580.92 0 Note 060(C3) 0
3581.13 0 Note 057(A2) 0
3581.16 0 Note 060(C3) 38
3581.22 0 Note 057(A2) 38
3581.38 0 Note 067(G3) 51
3586.83 1 Note 076(E4) 0
3586.98 0 Note 064(E3) 0
3612.59 1 Note 081(A4) 39
3612.93 0 Note 060(C3) 0
3612.94 0 Note 057(A2) 0
3613.06 0 Note 065(F3) 29
3613.07 0 Note 060(C3) 29
3613.22 0 Note 069(A3) 39
3621.08 1 Note 079(G4) 0
3621.23 0 Note 067(G3) 0
3648.74 1 Note 083(B4) 96
3648.90 0 Note 065(F3) 0
3649.06 0 Note 060(C3) 0
3649.06 0 Note 065(F3) 72
3649.22 0 Note 060(C3) 72
3649.22 0 Note 071(B3) 96
3653.86 1 Note 081(A4) 0
3654.02 0 Note 069(A3) 0
3706.68 1 Note 083(B4) 0
3706.82 0 Note 071(B3) 0
3706.97 0 Note 065(F3) 0
3706.98 0 Note 060(C3) 0
3710.98 1 Note 079(G4) 88
3711.30 0 Note 060(C3) 66
3711.45 0 Note 057(A2) 66
3711.46 0 Note 067(G3) 88
3737.23 1 Note 079(G4) 0
3737.38 0 Note 067(G3) 0
3737.39 0 Note 060(C3) 0
3737.53 0 Note 057(A2) 0
3739.14 1 Note 083(B4) 85
3739.47 0 Note 065(F3) 63
3739.48 0 Note 060(C3) 63
3739.71 0 Note 071(B3) 85
3761.86 1 Note 081(A4) 75
3762.02 0 Note 065(F3) 0
3762.03 0 Note 060(C3) 0
3762.18 0 Note 065(F3) 56
3762.34 0 Note 060(C3) 56
3762.34 0 Note 069(A3) 75
3769.70 1 Note 083(B4) 0
3769.85 0 Note 071(B3) 0
3794.37 1 Note 079(G4) 81
3794.49 0 Note 065(F3) 0
3794.65 0 Note 060(C3) 0
3794.81 0 Note 060(C3) 60
3794.82 0 Note 057(A2) 60
3794.97 0 Note 067(G3) 81
3799.47 1 Note 081(A4) 0
3799.61 0 Note 069(A3) 0
3827.14 1 Note 083(B4) 95
3827.29 0 Note 060(C3) 0
3827.30 0 Note 057(A2) 0
3827.45 0 Note 065(F3) 71
3827.61 0 Note 060(C3) 71
3827.62 0 Note 071(B3) 95
3828.75 1 Note 079(G4) 0
3828.98 0 Note 067(G3) 0
4010.01 1 Note 083(B4) 0
4010.17 0 Note 071(B3) 0
4010.18 0 Note 065(F3) 0
4010.34 0 Note 060(C3) 0
4854.97 1 Note 076(E4) 44
4855.12 0 Note 060(C3) 33
4855.29 0 Note 055(G2) 33
4855.56 0 Note 064(E3) 44
4870.01 1 Note 079(G4) 70
4870.52 0 Note 060(C3) 0
4870.64 0 Note 055(G2) 0
4870.65 0 Note 064(E3) 52
4870.80 0 Note 060(C3) 52
4870.96 0 Note 067(G3) 70
4875.48 1 Note 076(E4) 0
4875.60 0 Note 064(E3) 0
4891.30 1 Note 079(G4) 0
4891.44 0 Note 067(G3) 0
4891.61 0 Note 064(E3) 0
4891.62 0 Note 060(C3) 0
4893.04 1 Note 084(C5) 97
4893.22 0 Note 067(G3) 72
4893.36 0 Note 064(E3) 72
4893.37 0 Note 072(C4) 97
4991.13 1 Note 084(C5) 0
4991.28 0 Note 072(C4) 0
4991.29 0 Note 067(G3) 0
4991.44 0 Note 064(E3) 0
5013.84 1 Note 086(D5) 89
5014.23 0 Note 067(G3) 66
5014.25 0 Note 064(E3) 66
5014.33 0 Note 074(D4) 89
5036.42 1 Note 086(D5) 0
5036.72 0 Note 074(D4) 0
5036.88 0 Note 067(G3) 0
5036.89 0 Note 064(E3) 0
5039.62 1 Note 084(C5) 95
5039.76 0 Note 067(G3) 71
5039.92 0 Note 064(E3) 71
5039.93 0 Note 072(C4) 95
5089.06 1 Note 084(C5) 0
5089.21 0 Note 072(C4) 0
5089.36 0 Note 067(G3) 0
5089.37 0 Note 064(E3) 0
5123.13 1 Note 084(C5) 95
5123.29 0 Note 067(G3) 71
5123.30 0 Note 064(E3) 71
5123.49 0 Note 072(C4) 95
5331.78 1 Note 084(C5) 0
5331.91 0 Note 072(C4) 0
5331.92 0 Note 067(G3) 0
5332.07 0 Note 064(E3) 0
5445.03 1 Note 081(A4) 100
5445.52 0 Note 064(E3) 75
5445.53 0 Note 060(C3) 75
5445.68 0 Note 069(A3) 100
5533.20 1 Note 081(A4) 0
5533.22 0 Note 069(A3) 0
5533.35 0 Note 064(E3) 0
5533.51 0 Note 060(C3) 0
5535.61 1 Note 079(G4) 96
5535.75 0 Note 064(E3) 72
5535.91 0 Note 060(C3) 72
5535.92 0 Note 067(G3) 96
5668.92 1 Note 079(G4) 0
5669.17 0 Note 067(G3) 0
5669.20 0 Note 064(E3) 0
5669.35 0 Note 060(C3) 0
5888.24 1 Note 081(A4) 69
5888.39 0 Note 065(F3) 51
5888.40 0 Note 060(C3) 51
5888.55 0 Note 069(A3) 69
5914.64 1 Note 081(A4) 0
5914.79 0 Note 069(A3) 0
5914.95 0 Note 065(F3) 0
5914.95 0 Note 060(C3) 0
5921.20 1 Note 089(F5) 95
5921.35 0 Note 072(C4) 71
5921.51 0 Note 069(A3) 71
5921.67 0 Note 077(F4) 95
6022.15 1 Note 088(E5) 81
6022.34 0 Note 072(C4) 0
6022.47 0 Note 069(A3) 0
6022.62 0 Note 072(C4) 60
6022.63 0 Note 069(A3) 60
6022.79 0 Note 076(E4) 81
6028.56 1 Note 089(F5) 0
6028.86 0 Note 077(F4) 0
6124.87 1 Note 086(D5) 97
6124.89 0 Note 072(C4) 0
6125.03 0 Note 069(A3) 0
6125.18 0 Note 069(A3) 72
6125.19 0 Note 065(F3) 72
6125.35 0 Note 074(D4) 97
6130.32 1 Note 088(E5) 0
6130.56 0 Note 076(E4) 0
6212.55 1 Note 084(C5) 83
6218.62 0 Note 069(A3) 0
6218.78 0 Note 065(F3) 0
6218.79 0 Note 069(A3) 62
6218.94 0 Note 065(F3) 62
6218.95 0 Note 072(C4) 83
6219.26 0 Portamento Control 069(A3)
6219.27 0 Note 067(G3) 62
6219.43 0 Note 069(A3) 0
6219.59 0 Portamento Control 065(F3)
6219.75 0 Note 064(E3) 62
6219.93 0 Note 065(F3) 0
6220.38 1 Note 086(D5) 0
6220.48 0 Note 074(D4) 0
6285.67 1 Note 084(C5) 0
6285.82 0 Note 072(C4) 0
6285.98 0 Note 067(G3) 0
6286.15 0 Note 064(E3) 0
6641.18 1 Note 081(A4) 90
6643.75 0 Note 064(E3) 67
6643.90 0 Note 060(C3) 67
6644.06 0 Note 069(A3) 90
6666.49 1 Note 084(C5) 65
6666.62 0 Note 064(E3) 0
6666.83 0 Note 060(C3) 0
6666.84 0 Note 067(G3) 48
6666.94 0 Note 064(E3) 48
6666.94 0 Note 072(C4) 65
6667.73 1 Note 083(B4) 68
6668.07 0 Note 067(G3) 0
6668.08 0 Note 064(E3) 0
6668.22 0 Note 067(G3) 51
6668.22 0 Note 064(E3) 51
6668.37 0 Note 071(B3) 68
6671.45 1 Note 081(A4) 0
6671.58 0 Note 069(A3) 0
6688.87 1 Note 084(C5) 0
6689.02 0 Note 072(C4) 0
6690.30 1 Note 083(B4) 0
6690.46 0 Note 071(B3) 0
6690.46 0 Note 067(G3) 0
6690.61 0 Note 064(E3) 0
6695.59 1 Note 084(C5) 66
6696.26 0 Note 067(G3) 49
6696.38 0 Note 064(E3) 49
6696.39 0 Note 072(C4) 66
6791.89 1 Note 084(C5) 0
6791.90 0 Note 072(C4) 0
6792.06 0 Note 067(G3) 0
6792.21 0 Note 064(E3) 0
6958.46 1 Note 084(C5) 76
6958.61 0 Note 067(G3) 57
6958.62 0 Note 064(E3) 57
6958.77 0 Note 072(C4) 76
7117.01 1 Note 084(C5) 0
7117.18 0 Note 072(C4) 0
7117.19 0 Note 067(G3) 0
7117.33 0 Note 064(E3) 0
7278.94 1 Note 079(G4) 102
7279.25 0 Note 064(E3) 76
7279.41 0 Note 060(C3) 76
7279.57 0 Note 067(G3) 102
7528.84 1 Note 079(G4) 0
7529.32 0 Note 067(G3) 0
7529.50 0 Note 064(E3) 0
7529.52 0 Note 060(C3) 0
7531.58 1 Note 077(F4) 97
7531.72 0 Note 060(C3) 72
7531.73 0 Note 055(G2) 72
7531.88 0 Note 065(F3) 97
7829.17 1 Note 077(F4) 0
7829.18 0 Note 065(F3) 0
7829.32 0 Note 060(C3) 0
7829.49 0 Note 055(G2) 0
7831.09 1 Note 076(E4) 96
7831.24 0 Note 060(C3) 72
7831.40 0 Note 055(G2) 72
7831.56 0 Note 064(E3) 96
7919.09 0 Note 060(C3) 0
7919.24 0 Note 055(G2) 0
8057.96 1 Note 076(E4) 0
8058.12 0 Note 064(E3) 0
8266.45 0 Note 062(D3) 58
8266.59 1 Note 074(D4) 58
8268.85 0 Note 064(E3) 47
8268.99 1 Note 076(E4) 47
8274.93 0 Note 064(E3) 0
8275.07 1 Note 076(E4) 0
8299.89 0 Note 065(F3) 83
8300.04 1 Note 077(F4) 83
8304.05 0 Note 062(D3) 0
8304.19 1 Note 074(D4) 0
8361.32 0 Note 065(F3) 0
8361.47 1 Note 077(F4) 0
9293.94 stop time=150.96996360000048
9299.39 Chorus Type 2(Chorus2)
10196.02 Chorus Type 2(Chorus2)

We have the Main Voice on channel 0 (1) and the dual voice on channel A (11). The Harmony voice is also on channel 0, with the same (non-)offset octave as the main voice. This means the notes are hardcoded, and will survive getting the chords changed on them. (I suspect something similar works with the Performance Assistant for this.) The Harmony Volume is a simple reduction of velocity, with it seems like applying Main velocity*(Harmony Volume/127) or something like it.

Interesting to note in the captured MIDI output, there are a few Portamento Control events for the harmony notes, I think when the chords changed.


In [42]:
o = mido.open_output('DGX-505 MIDI 1')

In [46]:
o.send(mido.Message('note_off', channel=0, note=60))

In [47]:
def pulse(o=o, t=0.5, n=60, v=100, c=0):
    o.send(mido.Message('note_on', channel=c, note=n, velocity=v))
    time.sleep(t)
    o.send(mido.Message('note_on', channel=c, note=n, velocity=0))
    time.sleep(t)

In [57]:
pulse(o)
o.send(mido.Message('polytouch', note=0, value=63, channel=0))
pulse(o)

Sending polytouch does nothing.

How about the chords and part information?


In [59]:
trackprint(mf5.tracks[0])


0 <meta message time_signature numerator=4 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=600000 time=0>
0 GM System ON
0 Reverb Type 06(Stage1)
0 Chorus Type 2(Chorus2)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 65
0 Sequencer Specific 43 76 1A 02 1E
0 Sequencer Specific 43 76 1A 01 03
0 Sequencer Specific 43 76 1A 03 31 00 31 00
1920 Sequencer Specific 43 76 1A 01 00
2031 Sequencer Specific 43 76 1A 03 33 00 33 00
2380 Sequencer Specific 43 76 1A 01 02
2591 Sequencer Specific 43 76 1A 03 34 00 34 00
2688 Sequencer Specific 43 76 1A 01 05
2884 Sequencer Specific 43 76 1A 03 31 00 31 00
3456 Sequencer Specific 43 76 1A 01 09
3471 Sequencer Specific 43 76 1A 03 34 00 34 00
3884 Sequencer Specific 43 76 1A 01 06
4224 Sequencer Specific 43 76 1A 01 00
4680 Sequencer Specific 43 76 1A 03 31 00 31 00
5194 Sequencer Specific 43 76 1A 01 02
5376 Sequencer Specific 43 76 1A 01 05
5807 Sequencer Specific 43 76 1A 03 34 00 34 00
6144 Sequencer Specific 43 76 1A 01 09
6210 Sequencer Specific 43 76 1A 03 31 00 31 00
6384 <meta message set_tempo tempo=612224 time=174>
6432 <meta message set_tempo tempo=624992 time=48>
6480 <meta message set_tempo tempo=638272 time=48>
6528 <meta message set_tempo tempo=652160 time=48>
6576 <meta message set_tempo tempo=666656 time=48>
6624 <meta message set_tempo tempo=681792 time=48>
6673 <meta message set_tempo tempo=697664 time=49>
6710 Sequencer Specific 43 76 1A 01 06
6720 <meta message set_tempo tempo=714272 time=10>
6768 <meta message set_tempo tempo=731680 time=48>
6816 <meta message set_tempo tempo=749984 time=48>
6864 <meta message set_tempo tempo=769216 time=48>
6912 <meta message set_tempo tempo=789472 time=48>
6912 <meta message set_tempo tempo=600000 time=0>
6912 Sequencer Specific 43 76 1A 01 00
8126 Sequencer Specific 43 76 1A 03 32 00 32 00
8448 Sequencer Specific 43 76 1A 01 04
9216 <meta message end_of_track time=768>

The chords go like this: C, E, F, C, F, C, F, C, D.

Unlike the chords in the provided CD MIDI songs, these use sequencer specific meta messages instead of SysEx for the chords. The basic format seems to be the same, but using the extended-root system so C=31, D=32, E=33, F=34 and so on.

The sequencer specific messages are 43 76 1A 03 RR TT RR TT, which is that of the PSR-225.

The equivalent SysEx, as found in the CD MIDI, is 43 7E 02 RR TT RR TT.

The style part starts with three messages

0 Sequencer Specific 43 76 1A 04 00 65
0 Sequencer Specific 43 76 1A 02 1E
0 Sequencer Specific 43 76 1A 01 03

In all previous recordings they had different values:

0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00

In [64]:
0x65


Out[64]:
101

In [65]:
0x1E


Out[65]:
30

So 43 76 1A 04 xx xx is the style number, 43 76 1A 02 xx is the style volume.

43 76 1A 01 xx is a style part, which is set by default to be 00 (Main A?)

The style parts were recorded as thus: Intro A, Main A, Fill B, Main B, Ending (B), Fill A, Main A, Fill B, Ending (B), Ending rit.(B), Fill A, Main A, Ending (A).


In [71]:
trackprint(m for m in mf5.tracks[0] if m.type == 'sequencer_specific' and m.data[3] == 1 or m.type=='set_tempo')


0 <meta message set_tempo tempo=600000 time=0>
0 Sequencer Specific 43 76 1A 01 03
1920 Sequencer Specific 43 76 1A 01 00
2269 Sequencer Specific 43 76 1A 01 02
2366 Sequencer Specific 43 76 1A 01 05
2938 Sequencer Specific 43 76 1A 01 09
3351 Sequencer Specific 43 76 1A 01 06
3691 Sequencer Specific 43 76 1A 01 00
4205 Sequencer Specific 43 76 1A 01 02
4387 Sequencer Specific 43 76 1A 01 05
4724 Sequencer Specific 43 76 1A 01 09
4898 <meta message set_tempo tempo=612224 time=174>
4946 <meta message set_tempo tempo=624992 time=48>
4994 <meta message set_tempo tempo=638272 time=48>
5042 <meta message set_tempo tempo=652160 time=48>
5090 <meta message set_tempo tempo=666656 time=48>
5138 <meta message set_tempo tempo=681792 time=48>
5187 <meta message set_tempo tempo=697664 time=49>
5224 Sequencer Specific 43 76 1A 01 06
5234 <meta message set_tempo tempo=714272 time=10>
5282 <meta message set_tempo tempo=731680 time=48>
5330 <meta message set_tempo tempo=749984 time=48>
5378 <meta message set_tempo tempo=769216 time=48>
5426 <meta message set_tempo tempo=789472 time=48>
5426 <meta message set_tempo tempo=600000 time=0>
5426 Sequencer Specific 43 76 1A 01 00
5748 Sequencer Specific 43 76 1A 01 04

Intro A = 03, Main A = 00, Fill (A→)B = 02, Main B = 05, Ending B = 09, Fill (B→)A = 06, Ending A = 04

This matches the PSR, except that we don't have fills AA and BB. AB and BA only.

Note that Ending A and B are separate, even though the display just says 'ENDING'. Ending rit. isn't a special mode, it's just Ending with rit. appied through tempo.

What about the ones we encountered in the CD MIDI?

<meta message sequencer_specific data=(67, 123, 12, 1, 2) time=0>
<meta message sequencer_specific data=(67, 123, 0, 88, 70, 48, 50, 0, 27) time=0>

In [63]:
print(hexspace((67, 123, 12, 1, 2)))
print(hexspace((67, 123, 0, 88, 70, 48, 50, 0, 27)))


43 7B 0C 01 02
43 7B 00 58 46 30 32 00 1B

No idea what these are.

What happens when we clear out the style tempo track?


In [73]:
!python collect.py -g DGX > documents/data/user_song_tests/6track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [74]:
!python extractor.py documents/data/user_song_tests/6track.syx -S 2 -s 2 -n documents/data/user_song_tests/6track_{}.mid


               Recorded   Duration       Size
 User Song 2       True         23       8922
     Track A      False          0         99
     Track 1       True         23       1398
     Track 2       True          6       1946
     Track 3       True          8       1999
     Track 4       True          8       1773
     Track 5       True          9       1693


In [75]:
trackprint(mido.MidiFile('documents/data/user_song_tests/6track_2.mid').tracks[0])


0 <meta message time_signature numerator=4 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=600000 time=0>
0 GM System ON
0 Reverb Type 06(Stage1)
0 Chorus Type 2(Chorus2)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 65
0 Sequencer Specific 43 76 1A 02 1E
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

Looks like it erased all the chords a nd so on, but not the tempo. It even left the style number and volume intact.

Let's see if we can get the other status messages. Start with Intro B, and maybe we try to get Fill AA somehow? Also set the style number > 127, to overflow into the previous byte,


In [76]:
!python collect.py -g DGX > documents/data/user_song_tests/7track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [77]:
!python extractor.py documents/data/user_song_tests/7track.syx -S 2 -s 2 -n documents/data/user_song_tests/7track_{}.mid


               Recorded   Duration       Size
 User Song 2       True         32       9103
     Track A       True         32        280
     Track 1       True         23       1398
     Track 2       True          6       1946
     Track 3       True          8       1999
     Track 4       True          8       1773
     Track 5       True          9       1693


In [78]:
trackprint(mido.MidiFile('documents/data/user_song_tests/7track_2.mid').tracks[0])


0 <meta message time_signature numerator=4 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=214272 time=0>
0 GM System ON
0 Reverb Type 06(Stage1)
0 Chorus Type 2(Chorus2)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 84
0 Sequencer Specific 43 76 1A 02 4D
0 Sequencer Specific 43 76 1A 01 08
0 Sequencer Specific 43 76 1A 03 45 00 45 00
1536 Sequencer Specific 43 76 1A 01 05
2688 Sequencer Specific 43 76 1A 01 00
3072 Sequencer Specific 43 76 1A 01 05
3456 Sequencer Specific 43 76 1A 01 00
3840 Sequencer Specific 43 76 1A 01 05
4224 Sequencer Specific 43 76 1A 01 00
4608 Sequencer Specific 43 76 1A 01 05
4992 Sequencer Specific 43 76 1A 01 00
5376 Sequencer Specific 43 76 1A 01 05
6528 Sequencer Specific 43 76 1A 01 00
7296 Sequencer Specific 43 76 1A 01 04
7680 Sequencer Specific 43 76 1A 01 05
8448 Sequencer Specific 43 76 1A 01 09
8832 Sequencer Specific 43 76 1A 01 00
9264 Sequencer Specific 43 76 1A 01 04
9984 Sequencer Specific 43 76 1A 01 05
12198 <meta message set_tempo tempo=1874976 time=2214>
12640 <meta message end_of_track time=442>

It turns out the piano accompaniments don't have a fill. Oh well. Also, meta messages can handle values >127.

So here we have confirmation that Intro B is 08.

Now, to double-check the ticks per beat, and also see when the duration overflows.

Let's record User Song 1, but with time signature 1/4 and tempo 280 bpm.

With harmony on Tremolo 1/4, so that the notes should turn on every beat, record >256 measures. Also while we're at it try to check drum kit octaves, maybe.


In [80]:
!python collect.py -g DGX > documents/data/user_song_tests/8track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [81]:
!python extractor.py documents/data/user_song_tests/8track.syx -S 1 -s 1 -n documents/data/user_song_tests/8track_{}.mid


               Recorded   Duration       Size
 User Song 1       True        344       1620
     Track A      False          0         99
     Track 1       True        344       1507
     Track 2      False          0          0
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5      False          0          0


In [82]:
t0 = mido.MidiFile('documents/data/user_song_tests/8track_1.mid')

In [83]:
t0


Out[83]:
<midi file 'documents/data/user_song_tests/8track_1.mid' type 1, 2 tracks, 472 messages>

In [84]:
trackprint(t0.tracks[0])


0 <meta message time_signature numerator=1 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=214272 time=0>
0 GM System ON
0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

In [85]:
trackprint(t0.tracks[1])


0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 0 Bank MSB 0
0 0 Bank LSB 113
0 0 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
0 A Bank MSB 0
0 A Bank LSB 112
0 A Program Change [0,112,48] 054 String Ensemble (STRINGS)
0 0 RPN MSB 0
0 0 RPN LSB 0
0 0 Data Entry MSB: Pitch Bend Range 2
0 0 RPN LSB 127
0 0 RPN MSB 127
0 A RPN MSB 0
0 A RPN LSB 0
0 A Data Entry MSB: Pitch Bend Range 2
0 A RPN LSB 127
0 A RPN MSB 127
0 0 Voice Reverb Level 20
0 0 Voice Chorus Level 0
0 0 [Control 94] 0
0 0 Voice Volume 110
0 0 Voice Pan 64
0 0 Expression 127
0 0 Release Time 0
0 0 Pedal Sustain OFF
0 A Voice Reverb Level 50
0 A Voice Chorus Level 0
0 A [Control 94] 0
0 A Voice Volume 36
0 A Voice Pan 64
0 A Expression 127
0 A Release Time 0
0 A Pedal Sustain OFF
0 polytouch channel=0 note=0 value=64 time=0
0 0 Pitch Bend 0
0 A Pitch Bend 0
0 0 Note 072(C4) 80
47 0 Note 072(C4) 0
95 0 Note 072(C4) 80
143 0 Note 072(C4) 0
191 0 Note 072(C4) 80
239 0 Note 072(C4) 0
287 0 Note 072(C4) 80
335 0 Note 072(C4) 0
383 0 Note 072(C4) 80
431 0 Note 072(C4) 0
479 0 Note 072(C4) 80
527 0 Note 072(C4) 0
575 0 Note 072(C4) 80
623 0 Note 072(C4) 0
671 0 Note 072(C4) 80
719 0 Note 072(C4) 0
767 0 Note 072(C4) 80
815 0 Note 072(C4) 0
863 0 Note 072(C4) 80
911 0 Note 072(C4) 0
959 0 Note 072(C4) 80
1007 0 Note 072(C4) 0
1055 0 Note 072(C4) 80
1103 0 Note 072(C4) 0
1151 0 Note 072(C4) 80
1199 0 Note 072(C4) 0
1247 0 Note 072(C4) 80
1295 0 Note 072(C4) 0
1343 0 Note 072(C4) 80
1391 0 Note 072(C4) 0
1439 0 Note 072(C4) 80
1487 0 Note 072(C4) 0
1535 0 Note 072(C4) 80
1583 0 Note 072(C4) 0
1631 0 Note 072(C4) 80
1679 0 Note 072(C4) 0
1727 0 Note 072(C4) 80
1775 0 Note 072(C4) 0
1823 0 Note 072(C4) 80
1871 0 Note 072(C4) 0
1919 0 Note 072(C4) 80
1967 0 Note 072(C4) 0
2015 0 Note 072(C4) 80
2063 0 Note 072(C4) 0
2111 0 Note 072(C4) 80
2159 0 Note 072(C4) 0
2207 0 Note 072(C4) 80
2255 0 Note 072(C4) 0
2303 0 Note 072(C4) 80
2351 0 Note 072(C4) 0
2399 0 Note 072(C4) 80
2447 0 Note 072(C4) 0
2495 0 Note 072(C4) 80
2543 0 Note 072(C4) 0
2591 0 Note 072(C4) 80
2639 0 Note 072(C4) 0
2687 0 Note 072(C4) 80
2735 0 Note 072(C4) 0
2783 0 Note 072(C4) 80
2831 0 Note 072(C4) 0
2879 0 Note 072(C4) 80
2927 0 Note 072(C4) 0
2975 0 Note 072(C4) 80
3023 0 Note 072(C4) 0
3071 0 Note 072(C4) 80
3119 0 Note 072(C4) 0
3167 0 Note 072(C4) 80
3215 0 Note 072(C4) 0
3263 0 Note 072(C4) 80
3311 0 Note 072(C4) 0
3359 0 Note 072(C4) 80
3407 0 Note 072(C4) 0
3455 0 Note 072(C4) 80
3503 0 Note 072(C4) 0
3551 0 Note 072(C4) 80
3599 0 Note 072(C4) 0
3647 0 Note 072(C4) 80
3695 0 Note 072(C4) 0
3743 0 Note 072(C4) 80
3791 0 Note 072(C4) 0
3839 0 Note 072(C4) 80
3887 0 Note 072(C4) 0
3935 0 Note 072(C4) 80
3983 0 Note 072(C4) 0
4031 0 Note 072(C4) 80
4079 0 Note 072(C4) 0
4127 0 Note 072(C4) 80
4175 0 Note 072(C4) 0
4223 0 Note 072(C4) 80
4271 0 Note 072(C4) 0
4319 0 Note 072(C4) 80
4367 0 Note 072(C4) 0
4415 0 Note 072(C4) 80
4463 0 Note 072(C4) 0
4511 0 Note 072(C4) 80
4559 0 Note 072(C4) 0
4607 0 Note 072(C4) 80
4655 0 Note 072(C4) 0
4703 0 Note 072(C4) 80
4751 0 Note 072(C4) 0
4799 0 Note 072(C4) 80
4847 0 Note 072(C4) 0
4895 0 Note 072(C4) 80
4943 0 Note 072(C4) 0
4991 0 Note 072(C4) 80
5039 0 Note 072(C4) 0
5087 0 Note 072(C4) 80
5135 0 Note 072(C4) 0
5183 0 Note 072(C4) 80
5231 0 Note 072(C4) 0
5279 0 Note 072(C4) 80
5327 0 Note 072(C4) 0
5375 0 Note 072(C4) 80
5423 0 Note 072(C4) 0
5471 0 Note 072(C4) 80
5519 0 Note 072(C4) 0
5567 0 Note 072(C4) 80
5615 0 Note 072(C4) 0
5663 0 Note 072(C4) 80
5711 0 Note 072(C4) 0
5759 0 Note 072(C4) 80
5807 0 Note 072(C4) 0
5855 0 Note 072(C4) 80
5903 0 Note 072(C4) 0
5951 0 Note 072(C4) 80
5999 0 Note 072(C4) 0
6047 0 Note 072(C4) 80
6095 0 Note 072(C4) 0
6143 0 Note 072(C4) 80
6191 0 Note 072(C4) 0
6239 0 Note 072(C4) 80
6287 0 Note 072(C4) 0
6335 0 Note 072(C4) 80
6383 0 Note 072(C4) 0
6431 0 Note 072(C4) 80
6479 0 Note 072(C4) 0
6527 0 Note 072(C4) 80
6575 0 Note 072(C4) 0
6623 0 Note 072(C4) 80
6671 0 Note 072(C4) 0
6719 0 Note 072(C4) 80
6767 0 Note 072(C4) 0
6815 0 Note 072(C4) 80
6863 0 Note 072(C4) 0
6911 0 Note 072(C4) 80
6959 0 Note 072(C4) 0
7007 0 Note 072(C4) 80
7055 0 Note 072(C4) 0
7103 0 Note 072(C4) 80
7151 0 Note 072(C4) 0
7199 0 Note 072(C4) 80
7247 0 Note 072(C4) 0
7295 0 Note 072(C4) 80
7343 0 Note 072(C4) 0
7391 0 Note 072(C4) 80
7439 0 Note 072(C4) 0
7487 0 Note 072(C4) 80
7535 0 Note 072(C4) 0
7583 0 Note 072(C4) 80
7631 0 Note 072(C4) 0
7679 0 Note 072(C4) 80
7727 0 Note 072(C4) 0
7775 0 Note 072(C4) 80
7823 0 Note 072(C4) 0
7871 0 Note 072(C4) 80
7919 0 Note 072(C4) 0
7967 0 Note 072(C4) 80
8015 0 Note 072(C4) 0
8063 0 Note 072(C4) 80
8111 0 Note 072(C4) 0
8159 0 Note 072(C4) 80
8207 0 Note 072(C4) 0
8255 0 Note 072(C4) 80
8303 0 Note 072(C4) 0
8351 0 Note 072(C4) 80
8399 0 Note 072(C4) 0
8447 0 Note 072(C4) 80
8495 0 Note 072(C4) 0
8543 0 Note 072(C4) 80
8591 0 Note 072(C4) 0
8639 0 Note 072(C4) 80
8687 0 Note 072(C4) 0
8735 0 Note 072(C4) 80
8783 0 Note 072(C4) 0
8831 0 Note 072(C4) 80
8879 0 Note 072(C4) 0
8927 0 Note 072(C4) 80
8975 0 Note 072(C4) 0
9023 0 Note 072(C4) 80
9071 0 Note 072(C4) 0
9119 0 Note 072(C4) 80
9167 0 Note 072(C4) 0
9215 0 Note 072(C4) 80
9263 0 Note 072(C4) 0
9311 0 Note 072(C4) 80
9359 0 Note 072(C4) 0
9407 0 Note 072(C4) 80
9455 0 Note 072(C4) 0
9503 0 Note 072(C4) 80
9551 0 Note 072(C4) 0
9599 0 Note 072(C4) 80
9647 0 Note 072(C4) 0
9695 0 Note 072(C4) 80
9743 0 Note 072(C4) 0
9791 0 Note 072(C4) 80
9839 0 Note 072(C4) 0
9887 0 Note 072(C4) 80
9935 0 Note 072(C4) 0
9983 0 Note 072(C4) 80
10031 0 Note 072(C4) 0
10079 0 Note 072(C4) 80
10127 0 Note 072(C4) 0
10175 0 Note 072(C4) 80
10223 0 Note 072(C4) 0
10271 0 Note 072(C4) 80
10319 0 Note 072(C4) 0
10367 0 Note 072(C4) 80
10415 0 Note 072(C4) 0
10463 0 Note 072(C4) 80
10511 0 Note 072(C4) 0
10559 0 Note 072(C4) 80
10607 0 Note 072(C4) 0
10655 0 Note 072(C4) 80
10703 0 Note 072(C4) 0
10751 0 Note 072(C4) 80
10799 0 Note 072(C4) 0
10847 0 Note 072(C4) 80
10895 0 Note 072(C4) 0
10943 0 Note 072(C4) 80
10991 0 Note 072(C4) 0
11039 0 Note 072(C4) 80
11087 0 Note 072(C4) 0
11135 0 Note 072(C4) 80
11183 0 Note 072(C4) 0
11231 0 Note 072(C4) 80
11279 0 Note 072(C4) 0
11327 0 Note 072(C4) 80
11375 0 Note 072(C4) 0
11423 0 Note 072(C4) 80
11471 0 Note 072(C4) 0
11519 0 Note 072(C4) 80
11567 0 Note 072(C4) 0
11615 0 Note 072(C4) 80
11663 0 Note 072(C4) 0
11711 0 Note 072(C4) 80
11759 0 Note 072(C4) 0
11807 0 Note 072(C4) 80
11855 0 Note 072(C4) 0
11903 0 Note 072(C4) 80
11951 0 Note 072(C4) 0
11999 0 Note 072(C4) 80
12047 0 Note 072(C4) 0
12095 0 Note 072(C4) 80
12143 0 Note 072(C4) 0
12191 0 Note 072(C4) 80
12239 0 Note 072(C4) 0
12287 0 Note 072(C4) 80
12335 0 Note 072(C4) 0
12383 0 Note 072(C4) 80
12431 0 Note 072(C4) 0
12479 0 Note 072(C4) 80
12527 0 Note 072(C4) 0
12575 0 Note 072(C4) 80
12623 0 Note 072(C4) 0
12671 0 Note 072(C4) 80
12719 0 Note 072(C4) 0
12767 0 Note 072(C4) 80
12815 0 Note 072(C4) 0
12863 0 Note 072(C4) 80
12911 0 Note 072(C4) 0
12959 0 Note 072(C4) 80
13007 0 Note 072(C4) 0
13055 0 Note 072(C4) 80
13103 0 Note 072(C4) 0
13151 0 Note 072(C4) 80
13199 0 Note 072(C4) 0
13247 0 Note 072(C4) 80
13295 0 Note 072(C4) 0
13343 0 Note 072(C4) 80
13391 0 Note 072(C4) 0
13439 0 Note 072(C4) 80
13487 0 Note 072(C4) 0
13535 0 Note 072(C4) 80
13583 0 Note 072(C4) 0
13631 0 Note 072(C4) 80
13679 0 Note 072(C4) 0
13727 0 Note 072(C4) 80
13775 0 Note 072(C4) 0
13823 0 Note 072(C4) 80
13871 0 Note 072(C4) 0
13919 0 Note 072(C4) 80
13967 0 Note 072(C4) 0
14015 0 Note 072(C4) 80
14063 0 Note 072(C4) 0
14111 0 Note 072(C4) 80
14159 0 Note 072(C4) 0
14207 0 Note 072(C4) 80
14255 0 Note 072(C4) 0
14303 0 Note 072(C4) 80
14351 0 Note 072(C4) 0
14399 0 Note 072(C4) 80
14447 0 Note 072(C4) 0
14495 0 Note 072(C4) 80
14543 0 Note 072(C4) 0
14591 0 Note 072(C4) 80
14639 0 Note 072(C4) 0
14687 0 Note 072(C4) 80
14735 0 Note 072(C4) 0
14783 0 Note 072(C4) 80
14831 0 Note 072(C4) 0
14879 0 Note 072(C4) 80
14927 0 Note 072(C4) 0
14975 0 Note 072(C4) 80
15023 0 Note 072(C4) 0
15071 0 Note 072(C4) 80
15119 0 Note 072(C4) 0
15167 0 Note 072(C4) 80
15215 0 Note 072(C4) 0
15263 0 Note 072(C4) 80
15311 0 Note 072(C4) 0
15359 0 Note 072(C4) 80
15407 0 Note 072(C4) 0
15455 0 Note 072(C4) 80
15503 0 Note 072(C4) 0
15551 0 Note 072(C4) 80
15599 0 Note 072(C4) 0
15647 0 Note 072(C4) 80
15695 0 Note 072(C4) 0
15743 0 Note 072(C4) 80
15791 0 Note 072(C4) 0
15839 0 Note 072(C4) 80
15887 0 Note 072(C4) 0
15935 0 Note 072(C4) 80
15983 0 Note 072(C4) 0
16031 0 Note 072(C4) 80
16079 0 Note 072(C4) 0
16127 0 Note 072(C4) 80
16175 0 Note 072(C4) 0
16223 0 Note 072(C4) 80
16271 0 Note 072(C4) 0
16319 0 Note 072(C4) 80
16367 0 Note 072(C4) 0
16415 0 Note 072(C4) 80
16463 0 Note 072(C4) 0
16511 0 Note 072(C4) 80
16559 0 Note 072(C4) 0
16559 0 RPN MSB 0
16559 0 RPN LSB 0
16559 0 Data Entry MSB: Pitch Bend Range 2
16559 A RPN MSB 0
16559 A RPN LSB 0
16559 A Data Entry MSB: Pitch Bend Range 2
18812 0 Note 072(C4) 80
18813 0 Note 076(E4) 80
18882 0 Note 072(C4) 0
18883 0 Note 076(E4) 0
19461 polytouch channel=0 note=0 value=65 time=578
19461 0 RPN MSB 0
19461 0 RPN LSB 0
19461 0 Data Entry MSB: Pitch Bend Range 2
19461 A RPN MSB 0
19461 A RPN LSB 0
19461 A Data Entry MSB: Pitch Bend Range 2
20053 0 Note 072(C4) 80
20053 0 Note 076(E4) 80
20119 0 Note 076(E4) 0
20122 0 Note 072(C4) 0
20709 polytouch channel=0 note=0 value=64 time=587
20709 0 RPN MSB 0
20709 0 RPN LSB 0
20709 0 Data Entry MSB: Pitch Bend Range 2
20709 A RPN MSB 0
20709 A RPN LSB 0
20709 A Data Entry MSB: Pitch Bend Range 2
21223 0 Note 072(C4) 80
21223 0 Note 076(E4) 80
21287 0 Note 072(C4) 0
21288 0 Note 076(E4) 0
22823 0 Bank MSB 0
22823 0 Bank LSB 112
22823 0 Program Change [0,112,47] 121 Timpani (PERCUSSION)
22823 polytouch channel=0 note=0 value=63 time=0
22823 A Bank MSB 0
22823 A Bank LSB 112
22823 A Program Change [0,112,55] 065 Orchestra Hit (STRINGS)
22855 0 Voice Volume 102
22855 0 Voice Reverb Level 40
22855 A Voice Volume 70
22855 A Voice Reverb Level 54
23898 0 Bank MSB 127
23898 0 Bank LSB 0
23898 0 Program Change [127,0,0] 122 Standard Kit 1 (DRUM KITS)
23898 A Bank MSB 0
23898 A Bank LSB 112
23898 A Program Change [0,112,48] 054 String Ensemble (STRINGS)
23939 0 Voice Volume 104
23939 0 Voice Reverb Level 28
23939 A Voice Volume 100
23939 A Voice Reverb Level 40
24986 0 Note 072(C4) 80
25141 0 Note 072(C4) 0
25325 0 Note 072(C4) 80
25424 0 Note 072(C4) 0
25632 0 Note 084(C5) 80
25772 0 Note 084(C5) 0
25940 0 Note 072(C4) 80
26071 0 Note 072(C4) 0
26262 0 Note 060(C3) 80
26434 0 Note 060(C3) 0
26596 0 Note 072(C4) 80
26725 0 Note 072(C4) 0
26915 0 Note 084(C5) 80
27063 0 Note 084(C5) 0
27231 0 Note 072(C4) 80
27356 0 Note 072(C4) 0
27563 0 Note 060(C3) 80
27712 0 Note 060(C3) 0
28236 0 Note 072(C4) 80
28491 0 Note 072(C4) 0
28886 0 Note 084(C5) 80
29419 0 Note 084(C5) 0
33043 0 All Sound OFF
33043 A All Sound OFF
33043 <meta message end_of_track time=0>

In [97]:
trackprint(t0.tracks[1][38:384])


0 0 Note 072(C4) 80
47 0 Note 072(C4) 0
95 0 Note 072(C4) 80
143 0 Note 072(C4) 0
191 0 Note 072(C4) 80
239 0 Note 072(C4) 0
287 0 Note 072(C4) 80
335 0 Note 072(C4) 0
383 0 Note 072(C4) 80
431 0 Note 072(C4) 0
479 0 Note 072(C4) 80
527 0 Note 072(C4) 0
575 0 Note 072(C4) 80
623 0 Note 072(C4) 0
671 0 Note 072(C4) 80
719 0 Note 072(C4) 0
767 0 Note 072(C4) 80
815 0 Note 072(C4) 0
863 0 Note 072(C4) 80
911 0 Note 072(C4) 0
959 0 Note 072(C4) 80
1007 0 Note 072(C4) 0
1055 0 Note 072(C4) 80
1103 0 Note 072(C4) 0
1151 0 Note 072(C4) 80
1199 0 Note 072(C4) 0
1247 0 Note 072(C4) 80
1295 0 Note 072(C4) 0
1343 0 Note 072(C4) 80
1391 0 Note 072(C4) 0
1439 0 Note 072(C4) 80
1487 0 Note 072(C4) 0
1535 0 Note 072(C4) 80
1583 0 Note 072(C4) 0
1631 0 Note 072(C4) 80
1679 0 Note 072(C4) 0
1727 0 Note 072(C4) 80
1775 0 Note 072(C4) 0
1823 0 Note 072(C4) 80
1871 0 Note 072(C4) 0
1919 0 Note 072(C4) 80
1967 0 Note 072(C4) 0
2015 0 Note 072(C4) 80
2063 0 Note 072(C4) 0
2111 0 Note 072(C4) 80
2159 0 Note 072(C4) 0
2207 0 Note 072(C4) 80
2255 0 Note 072(C4) 0
2303 0 Note 072(C4) 80
2351 0 Note 072(C4) 0
2399 0 Note 072(C4) 80
2447 0 Note 072(C4) 0
2495 0 Note 072(C4) 80
2543 0 Note 072(C4) 0
2591 0 Note 072(C4) 80
2639 0 Note 072(C4) 0
2687 0 Note 072(C4) 80
2735 0 Note 072(C4) 0
2783 0 Note 072(C4) 80
2831 0 Note 072(C4) 0
2879 0 Note 072(C4) 80
2927 0 Note 072(C4) 0
2975 0 Note 072(C4) 80
3023 0 Note 072(C4) 0
3071 0 Note 072(C4) 80
3119 0 Note 072(C4) 0
3167 0 Note 072(C4) 80
3215 0 Note 072(C4) 0
3263 0 Note 072(C4) 80
3311 0 Note 072(C4) 0
3359 0 Note 072(C4) 80
3407 0 Note 072(C4) 0
3455 0 Note 072(C4) 80
3503 0 Note 072(C4) 0
3551 0 Note 072(C4) 80
3599 0 Note 072(C4) 0
3647 0 Note 072(C4) 80
3695 0 Note 072(C4) 0
3743 0 Note 072(C4) 80
3791 0 Note 072(C4) 0
3839 0 Note 072(C4) 80
3887 0 Note 072(C4) 0
3935 0 Note 072(C4) 80
3983 0 Note 072(C4) 0
4031 0 Note 072(C4) 80
4079 0 Note 072(C4) 0
4127 0 Note 072(C4) 80
4175 0 Note 072(C4) 0
4223 0 Note 072(C4) 80
4271 0 Note 072(C4) 0
4319 0 Note 072(C4) 80
4367 0 Note 072(C4) 0
4415 0 Note 072(C4) 80
4463 0 Note 072(C4) 0
4511 0 Note 072(C4) 80
4559 0 Note 072(C4) 0
4607 0 Note 072(C4) 80
4655 0 Note 072(C4) 0
4703 0 Note 072(C4) 80
4751 0 Note 072(C4) 0
4799 0 Note 072(C4) 80
4847 0 Note 072(C4) 0
4895 0 Note 072(C4) 80
4943 0 Note 072(C4) 0
4991 0 Note 072(C4) 80
5039 0 Note 072(C4) 0
5087 0 Note 072(C4) 80
5135 0 Note 072(C4) 0
5183 0 Note 072(C4) 80
5231 0 Note 072(C4) 0
5279 0 Note 072(C4) 80
5327 0 Note 072(C4) 0
5375 0 Note 072(C4) 80
5423 0 Note 072(C4) 0
5471 0 Note 072(C4) 80
5519 0 Note 072(C4) 0
5567 0 Note 072(C4) 80
5615 0 Note 072(C4) 0
5663 0 Note 072(C4) 80
5711 0 Note 072(C4) 0
5759 0 Note 072(C4) 80
5807 0 Note 072(C4) 0
5855 0 Note 072(C4) 80
5903 0 Note 072(C4) 0
5951 0 Note 072(C4) 80
5999 0 Note 072(C4) 0
6047 0 Note 072(C4) 80
6095 0 Note 072(C4) 0
6143 0 Note 072(C4) 80
6191 0 Note 072(C4) 0
6239 0 Note 072(C4) 80
6287 0 Note 072(C4) 0
6335 0 Note 072(C4) 80
6383 0 Note 072(C4) 0
6431 0 Note 072(C4) 80
6479 0 Note 072(C4) 0
6527 0 Note 072(C4) 80
6575 0 Note 072(C4) 0
6623 0 Note 072(C4) 80
6671 0 Note 072(C4) 0
6719 0 Note 072(C4) 80
6767 0 Note 072(C4) 0
6815 0 Note 072(C4) 80
6863 0 Note 072(C4) 0
6911 0 Note 072(C4) 80
6959 0 Note 072(C4) 0
7007 0 Note 072(C4) 80
7055 0 Note 072(C4) 0
7103 0 Note 072(C4) 80
7151 0 Note 072(C4) 0
7199 0 Note 072(C4) 80
7247 0 Note 072(C4) 0
7295 0 Note 072(C4) 80
7343 0 Note 072(C4) 0
7391 0 Note 072(C4) 80
7439 0 Note 072(C4) 0
7487 0 Note 072(C4) 80
7535 0 Note 072(C4) 0
7583 0 Note 072(C4) 80
7631 0 Note 072(C4) 0
7679 0 Note 072(C4) 80
7727 0 Note 072(C4) 0
7775 0 Note 072(C4) 80
7823 0 Note 072(C4) 0
7871 0 Note 072(C4) 80
7919 0 Note 072(C4) 0
7967 0 Note 072(C4) 80
8015 0 Note 072(C4) 0
8063 0 Note 072(C4) 80
8111 0 Note 072(C4) 0
8159 0 Note 072(C4) 80
8207 0 Note 072(C4) 0
8255 0 Note 072(C4) 80
8303 0 Note 072(C4) 0
8351 0 Note 072(C4) 80
8399 0 Note 072(C4) 0
8447 0 Note 072(C4) 80
8495 0 Note 072(C4) 0
8543 0 Note 072(C4) 80
8591 0 Note 072(C4) 0
8639 0 Note 072(C4) 80
8687 0 Note 072(C4) 0
8735 0 Note 072(C4) 80
8783 0 Note 072(C4) 0
8831 0 Note 072(C4) 80
8879 0 Note 072(C4) 0
8927 0 Note 072(C4) 80
8975 0 Note 072(C4) 0
9023 0 Note 072(C4) 80
9071 0 Note 072(C4) 0
9119 0 Note 072(C4) 80
9167 0 Note 072(C4) 0
9215 0 Note 072(C4) 80
9263 0 Note 072(C4) 0
9311 0 Note 072(C4) 80
9359 0 Note 072(C4) 0
9407 0 Note 072(C4) 80
9455 0 Note 072(C4) 0
9503 0 Note 072(C4) 80
9551 0 Note 072(C4) 0
9599 0 Note 072(C4) 80
9647 0 Note 072(C4) 0
9695 0 Note 072(C4) 80
9743 0 Note 072(C4) 0
9791 0 Note 072(C4) 80
9839 0 Note 072(C4) 0
9887 0 Note 072(C4) 80
9935 0 Note 072(C4) 0
9983 0 Note 072(C4) 80
10031 0 Note 072(C4) 0
10079 0 Note 072(C4) 80
10127 0 Note 072(C4) 0
10175 0 Note 072(C4) 80
10223 0 Note 072(C4) 0
10271 0 Note 072(C4) 80
10319 0 Note 072(C4) 0
10367 0 Note 072(C4) 80
10415 0 Note 072(C4) 0
10463 0 Note 072(C4) 80
10511 0 Note 072(C4) 0
10559 0 Note 072(C4) 80
10607 0 Note 072(C4) 0
10655 0 Note 072(C4) 80
10703 0 Note 072(C4) 0
10751 0 Note 072(C4) 80
10799 0 Note 072(C4) 0
10847 0 Note 072(C4) 80
10895 0 Note 072(C4) 0
10943 0 Note 072(C4) 80
10991 0 Note 072(C4) 0
11039 0 Note 072(C4) 80
11087 0 Note 072(C4) 0
11135 0 Note 072(C4) 80
11183 0 Note 072(C4) 0
11231 0 Note 072(C4) 80
11279 0 Note 072(C4) 0
11327 0 Note 072(C4) 80
11375 0 Note 072(C4) 0
11423 0 Note 072(C4) 80
11471 0 Note 072(C4) 0
11519 0 Note 072(C4) 80
11567 0 Note 072(C4) 0
11615 0 Note 072(C4) 80
11663 0 Note 072(C4) 0
11711 0 Note 072(C4) 80
11759 0 Note 072(C4) 0
11807 0 Note 072(C4) 80
11855 0 Note 072(C4) 0
11903 0 Note 072(C4) 80
11951 0 Note 072(C4) 0
11999 0 Note 072(C4) 80
12047 0 Note 072(C4) 0
12095 0 Note 072(C4) 80
12143 0 Note 072(C4) 0
12191 0 Note 072(C4) 80
12239 0 Note 072(C4) 0
12287 0 Note 072(C4) 80
12335 0 Note 072(C4) 0
12383 0 Note 072(C4) 80
12431 0 Note 072(C4) 0
12479 0 Note 072(C4) 80
12527 0 Note 072(C4) 0
12575 0 Note 072(C4) 80
12623 0 Note 072(C4) 0
12671 0 Note 072(C4) 80
12719 0 Note 072(C4) 0
12767 0 Note 072(C4) 80
12815 0 Note 072(C4) 0
12863 0 Note 072(C4) 80
12911 0 Note 072(C4) 0
12959 0 Note 072(C4) 80
13007 0 Note 072(C4) 0
13055 0 Note 072(C4) 80
13103 0 Note 072(C4) 0
13151 0 Note 072(C4) 80
13199 0 Note 072(C4) 0
13247 0 Note 072(C4) 80
13295 0 Note 072(C4) 0
13343 0 Note 072(C4) 80
13391 0 Note 072(C4) 0
13439 0 Note 072(C4) 80
13487 0 Note 072(C4) 0
13535 0 Note 072(C4) 80
13583 0 Note 072(C4) 0
13631 0 Note 072(C4) 80
13679 0 Note 072(C4) 0
13727 0 Note 072(C4) 80
13775 0 Note 072(C4) 0
13823 0 Note 072(C4) 80
13871 0 Note 072(C4) 0
13919 0 Note 072(C4) 80
13967 0 Note 072(C4) 0
14015 0 Note 072(C4) 80
14063 0 Note 072(C4) 0
14111 0 Note 072(C4) 80
14159 0 Note 072(C4) 0
14207 0 Note 072(C4) 80
14255 0 Note 072(C4) 0
14303 0 Note 072(C4) 80
14351 0 Note 072(C4) 0
14399 0 Note 072(C4) 80
14447 0 Note 072(C4) 0
14495 0 Note 072(C4) 80
14543 0 Note 072(C4) 0
14591 0 Note 072(C4) 80
14639 0 Note 072(C4) 0
14687 0 Note 072(C4) 80
14735 0 Note 072(C4) 0
14783 0 Note 072(C4) 80
14831 0 Note 072(C4) 0
14879 0 Note 072(C4) 80
14927 0 Note 072(C4) 0
14975 0 Note 072(C4) 80
15023 0 Note 072(C4) 0
15071 0 Note 072(C4) 80
15119 0 Note 072(C4) 0
15167 0 Note 072(C4) 80
15215 0 Note 072(C4) 0
15263 0 Note 072(C4) 80
15311 0 Note 072(C4) 0
15359 0 Note 072(C4) 80
15407 0 Note 072(C4) 0
15455 0 Note 072(C4) 80
15503 0 Note 072(C4) 0
15551 0 Note 072(C4) 80
15599 0 Note 072(C4) 0
15647 0 Note 072(C4) 80
15695 0 Note 072(C4) 0
15743 0 Note 072(C4) 80
15791 0 Note 072(C4) 0
15839 0 Note 072(C4) 80
15887 0 Note 072(C4) 0
15935 0 Note 072(C4) 80
15983 0 Note 072(C4) 0
16031 0 Note 072(C4) 80
16079 0 Note 072(C4) 0
16127 0 Note 072(C4) 80
16175 0 Note 072(C4) 0
16223 0 Note 072(C4) 80
16271 0 Note 072(C4) 0
16319 0 Note 072(C4) 80
16367 0 Note 072(C4) 0
16415 0 Note 072(C4) 80
16463 0 Note 072(C4) 0
16511 0 Note 072(C4) 80
16559 0 Note 072(C4) 0

In [98]:
pulse_messages = t0.tracks[1][38:384]

In [103]:
from collections import Counter

In [104]:
Counter(m.time for m in pulse_messages)


Out[104]:
Counter({0: 1, 47: 1, 48: 344})

There are 48 ticks between each note-on and note-off (excepting some weirdness at the start), which gives 48×2=96 ticks between each note_on, or 96 ticks per beat.

Changing to the registry voice with everything the same except the octave sends out the octave change (polytouch) message, as well as pitch bend range changes for both main and dual voices.

And the drum kit does behave like any other voice with respect to the octave offset (in this case, -1); the messages recorded are not the actual notes played (eg. if a midi player or using mido-play to send back over MIDI to the keyboard). I wonder if this will be recognised for flash memory MIDI; I know that the style number meta-messages are not but the chord changes are, from an older experiment.

The next experiment is to play every chord. I attempted to play every chord that appears in the manual, as well as the weird one that isn't, and the non-chord that happens if you mash keys. Fun!


In [105]:
!python collect.py -g DGX > documents/data/user_song_tests/9track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [106]:
!python extractor.py documents/data/user_song_tests/9track.syx -S 1 -s 1 -n documents/data/user_song_tests/9track_{}.mid


               Recorded   Duration       Size
 User Song 1       True        275       7186
     Track A       True        223       5665
     Track 1       True        275       1507
     Track 2      False          0          0
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5      False          0          0


In [9]:
t1 = mido.MidiFile('documents/data/user_song_tests/9track_1.mid')

In [110]:
t0.tracks[1] == t1.tracks[1]


Out[110]:
True

In [111]:
trackprint(t1.tracks[0])


0 <meta message time_signature numerator=5 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=624992 time=0>
0 GM System ON
0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 36
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 05
481 Sequencer Specific 43 76 1A 01 06
631 Sequencer Specific 43 76 1A 01 02
728 Sequencer Specific 43 76 1A 01 06
828 Sequencer Specific 43 76 1A 01 02
960 Sequencer Specific 43 76 1A 01 06
1047 Sequencer Specific 43 76 1A 01 02
1440 Sequencer Specific 43 76 1A 01 05
1926 Sequencer Specific 43 76 1A 01 06
2400 Sequencer Specific 43 76 1A 01 00
2491 Sequencer Specific 43 76 1A 03 31 00 31 00
4314 Sequencer Specific 43 76 1A 03 31 04 31 04
4792 Sequencer Specific 43 76 1A 03 31 01 31 01
5754 Sequencer Specific 43 76 1A 03 31 04 31 04
5757 Sequencer Specific 43 76 1A 03 31 06 31 06
6715 Sequencer Specific 43 76 1A 03 31 02 31 02
7672 Sequencer Specific 43 76 1A 03 31 05 31 05
8633 Sequencer Specific 43 76 1A 03 31 03 31 03
9586 Sequencer Specific 43 76 1A 03 44 27 31 1E
10554 Sequencer Specific 43 76 1A 03 44 29 31 1E
11995 Sequencer Specific 43 76 1A 03 31 24 31 24
12955 Sequencer Specific 43 76 1A 03 31 23 31 23
13914 Sequencer Specific 43 76 1A 03 31 20 31 20
15030 Sequencer Specific 43 76 1A 03 31 07 31 07
15837 Sequencer Specific 43 76 1A 03 31 1C 31 1C
16792 Sequencer Specific 43 76 1A 03 31 08 31 08
17450 Sequencer Specific 43 76 1A 03 31 0C 31 0C
18237 Sequencer Specific 43 76 1A 03 31 09 31 09
19199 Sequencer Specific 43 76 1A 03 31 0A 31 0A
20160 Sequencer Specific 43 76 1A 03 31 0D 31 0D
21595 Sequencer Specific 43 76 1A 03 23 21 23 21
21598 Sequencer Specific 43 76 1A 03 31 0E 31 0E
22840 Sequencer Specific 43 76 1A 03 31 0F 31 0F
23697 Sequencer Specific 43 76 1A 03 23 00 23 00
23699 Sequencer Specific 43 76 1A 03 31 10 31 10
24951 Sequencer Specific 43 76 1A 03 31 0B 31 0B
25916 Sequencer Specific 43 76 1A 03 31 25 31 25
27833 Sequencer Specific 43 76 1A 03 31 11 31 11
28313 Sequencer Specific 43 76 1A 03 31 12 31 12
28796 Sequencer Specific 43 76 1A 03 31 13 31 13
29753 Sequencer Specific 43 76 1A 03 31 19 31 19
30716 Sequencer Specific 43 76 1A 03 31 1A 31 1A
31685 Sequencer Specific 43 76 1A 03 31 16 31 16
33598 Sequencer Specific 43 76 1A 03 31 17 31 17
34557 Sequencer Specific 43 76 1A 03 31 18 31 18
35679 Sequencer Specific 43 76 1A 03 31 19 31 19
36470 Sequencer Specific 43 76 1A 03 31 1B 31 1B
37807 Sequencer Specific 43 76 1A 03 31 13 31 13
37810 Sequencer Specific 43 76 1A 03 31 15 31 15
38870 Sequencer Specific 43 76 1A 03 31 1D 31 1D
39352 Sequencer Specific 43 76 1A 03 31 14 31 14
40312 Sequencer Specific 43 76 1A 03 31 21 31 21
41275 Sequencer Specific 43 76 1A 03 31 1F 31 1F
42232 Sequencer Specific 43 76 1A 03 31 1E 31 1E
44329 Sequencer Specific 43 76 1A 03 31 26 31 26
45117 Sequencer Specific 43 76 1A 03 22 00 22 00
45120 Sequencer Specific 43 76 1A 03 31 27 31 27
46078 Sequencer Specific 43 76 1A 03 31 28 31 28
46664 Sequencer Specific 43 76 1A 01 02
47040 Sequencer Specific 43 76 1A 01 05
47044 Sequencer Specific 43 76 1A 03 31 00 31 00
47504 Sequencer Specific 43 76 1A 03 22 00 22 00
47993 Sequencer Specific 43 76 1A 03 32 00 32 00
48475 Sequencer Specific 43 76 1A 03 23 00 23 00
48954 Sequencer Specific 43 76 1A 03 33 00 33 00
49440 Sequencer Specific 43 76 1A 03 34 00 34 00
49539 Sequencer Specific 43 76 1A 03 44 00 44 00
49635 Sequencer Specific 43 76 1A 03 35 00 35 00
49730 Sequencer Specific 43 76 1A 03 45 00 45 00
49920 Sequencer Specific 43 76 1A 03 36 00 36 00
50024 Sequencer Specific 43 76 1A 03 27 00 27 00
50202 Sequencer Specific 43 76 1A 03 37 00 37 00
50393 Sequencer Specific 43 76 1A 03 31 00 31 00
50942 Sequencer Specific 43 76 1A 03 31 1E 31 1E
51166 Sequencer Specific 43 76 1A 03 37 1E 37 1E
51360 Sequencer Specific 43 76 1A 03 27 1E 27 1E
51642 Sequencer Specific 43 76 1A 03 36 1E 36 1E
51828 Sequencer Specific 43 76 1A 03 45 1E 45 1E
52116 Sequencer Specific 43 76 1A 03 35 00 35 00
52119 Sequencer Specific 43 76 1A 03 35 1E 35 1E
52313 Sequencer Specific 43 76 1A 03 44 00 44 00
52316 Sequencer Specific 43 76 1A 03 44 1E 44 1E
52594 Sequencer Specific 43 76 1A 03 34 1E 34 1E
52799 Sequencer Specific 43 76 1A 03 33 00 33 00
52803 Sequencer Specific 43 76 1A 03 33 1E 33 1E
53079 Sequencer Specific 43 76 1A 03 23 00 23 00
53081 Sequencer Specific 43 76 1A 03 23 1E 23 1E
53272 Sequencer Specific 43 76 1A 03 32 1E 32 1E
53557 Sequencer Specific 43 76 1A 03 22 1E 22 1E
53757 Sequencer Specific 43 76 1A 03 31 1E 31 1E
54242 Sequencer Specific 43 76 1A 03 31 00 35 1E
54709 Sequencer Specific 43 76 1A 03 22 00 45 1E
55000 Sequencer Specific 43 76 1A 03 32 00 36 1E
55194 Sequencer Specific 43 76 1A 03 23 00 27 1E
55483 Sequencer Specific 43 76 1A 03 33 00 37 1E
55674 Sequencer Specific 43 76 1A 03 34 00 34 00
55676 Sequencer Specific 43 76 1A 03 34 00 31 1E
55961 Sequencer Specific 43 76 1A 03 44 00 22 1E
56154 Sequencer Specific 43 76 1A 03 35 00 35 00
56157 Sequencer Specific 43 76 1A 03 35 00 32 1E
56432 Sequencer Specific 43 76 1A 03 45 00 23 1E
56626 Sequencer Specific 43 76 1A 03 36 00 36 00
56629 Sequencer Specific 43 76 1A 03 36 00 33 1E
56916 Sequencer Specific 43 76 1A 03 27 00 27 00
56919 Sequencer Specific 43 76 1A 03 27 00 34 1E
57115 Sequencer Specific 43 76 1A 03 37 00 44 1E
57401 Sequencer Specific 43 76 1A 03 31 00 35 1E
57592 Sequencer Specific 43 76 1A 03 33 08 33 08
57594 Sequencer Specific 43 76 1A 03 31 00 31 00
58076 Sequencer Specific 43 76 1A 03 31 13 31 13
58356 Sequencer Specific 43 76 1A 03 31 08 31 08
58553 Sequencer Specific 43 76 1A 03 36 08 36 08
58838 Sequencer Specific 43 76 1A 03 45 00 45 00
59036 Sequencer Specific 43 76 1A 03 31 00 35 1E
59308 Sequencer Specific 43 76 1A 03 44 24 44 24
59514 Sequencer Specific 43 76 1A 03 34 1F 34 1F
59805 Sequencer Specific 43 76 1A 03 31 00 33 1E
59989 Sequencer Specific 43 76 1A 03 32 13 32 13
60468 Sequencer Specific 43 76 1A 03 31 04 31 04
60856 Sequencer Specific 43 76 1A 03 32 00 32 00
60859 Sequencer Specific 43 76 1A 03 31 04 31 04
60946 Sequencer Specific 43 76 1A 03 32 00 32 00
61055 Sequencer Specific 43 76 1A 03 31 04 31 04
61146 Sequencer Specific 43 76 1A 03 22 25 22 25
61432 Sequencer Specific 43 76 1A 03 31 00 31 00
61715 Sequencer Specific 43 76 1A 03 31 04 31 04
61911 Sequencer Specific 43 76 1A 03 33 00 33 00
61914 Sequencer Specific 43 76 1A 03 34 21 33 1E
62193 Sequencer Specific 43 76 1A 03 34 08 34 08
62390 Sequencer Specific 43 76 1A 03 33 11 33 11
62678 Sequencer Specific 43 76 1A 03 31 1F 31 1F
62681 Sequencer Specific 43 76 1A 03 32 14 32 14
63357 Sequencer Specific 43 76 1A 03 31 08 31 08
63651 Sequencer Specific 43 76 1A 03 31 00 31 00
63836 Sequencer Specific 43 76 1A 03 23 00 23 00
63839 Sequencer Specific 43 76 1A 03 33 1C 33 1C
64115 Sequencer Specific 43 76 1A 03 31 00 33 1E
64385 Sequencer Specific 43 76 1A 03 31 24 31 24
64599 Sequencer Specific 43 76 1A 03 35 00 35 00
64601 Sequencer Specific 43 76 1A 03 31 00 35 1E
64798 Sequencer Specific 43 76 1A 03 31 00 31 00
65757 Sequencer Specific 43 76 1A 03 31 00 23 1E
66040 Sequencer Specific 43 76 1A 03 31 00 34 1E
66318 Sequencer Specific 43 76 1A 03 31 00 31 00
66320 Sequencer Specific 43 76 1A 03 31 00 44 1E
66810 Sequencer Specific 43 76 1A 03 31 00 31 00
66897 Sequencer Specific 43 76 1A 03 31 00 35 1E
67271 Sequencer Specific 43 76 1A 03 31 00 31 00
67274 Sequencer Specific 43 76 1A 03 31 00 33 1E
67475 Sequencer Specific 43 76 1A 03 31 1E 31 1E
67478 Sequencer Specific 43 76 1A 03 31 00 31 1E
67653 Sequencer Specific 43 76 1A 03 31 1E 31 1E
67954 Sequencer Specific 43 76 1A 03 22 25 22 25
67956 Sequencer Specific 43 76 1A 03 22 25 22 1E
68053 Sequencer Specific 43 76 1A 03 22 02 22 02
68057 Sequencer Specific 43 76 1A 03 22 25 22 1E
68152 Sequencer Specific 43 76 1A 03 22 02 22 02
68158 Sequencer Specific 43 76 1A 03 22 25 22 1E
68229 Sequencer Specific 43 76 1A 03 31 00 31 00
68232 Sequencer Specific 43 76 1A 03 22 25 22 25
68465 Sequencer Specific 43 76 1A 03 22 00 22 00
68515 Sequencer Specific 43 76 1A 03 22 08 22 08
68517 Sequencer Specific 43 76 1A 03 31 02 22 1E
68597 Sequencer Specific 43 76 1A 03 22 25 22 25
68702 Sequencer Specific 43 76 1A 03 31 19 31 19
68923 Sequencer Specific 43 76 1A 03 22 00 22 00
68926 Sequencer Specific 43 76 1A 03 31 29 22 1E
69676 Sequencer Specific 43 76 1A 03 22 0A 22 0A
69885 Sequencer Specific 43 76 1A 03 27 08 22 1E
69888 Sequencer Specific 43 76 1A 03 31 29 22 1E
70094 Sequencer Specific 43 76 1A 03 22 02 22 02
70107 Sequencer Specific 43 76 1A 03 31 29 22 1E
70160 Sequencer Specific 43 76 1A 03 22 00 22 00
70163 Sequencer Specific 43 76 1A 03 31 29 22 1E
70363 Sequencer Specific 43 76 1A 03 31 29 32 1E
70555 Sequencer Specific 43 76 1A 03 31 29 23 1E
70838 Sequencer Specific 43 76 1A 03 22 0F 22 0F
71063 Sequencer Specific 43 76 1A 03 31 13 31 13
71066 Sequencer Specific 43 76 1A 03 31 19 31 19
71188 Sequencer Specific 43 76 1A 03 31 29 23 1E
71316 Sequencer Specific 43 76 1A 03 33 24 33 24
71319 Sequencer Specific 43 76 1A 03 31 19 31 19
71406 Sequencer Specific 43 76 1A 03 27 0C 27 0C
71491 Sequencer Specific 43 76 1A 03 22 0A 22 0A
71494 Sequencer Specific 43 76 1A 03 31 29 44 1E
71603 Sequencer Specific 43 76 1A 03 31 29 35 1E
71699 Sequencer Specific 43 76 1A 03 27 0D 27 0D
71802 Sequencer Specific 43 76 1A 03 27 10 27 10
71900 Sequencer Specific 43 76 1A 03 31 29 27 1E
71999 Sequencer Specific 43 76 1A 03 31 29 37 1E
72097 Sequencer Specific 43 76 1A 03 22 0A 22 0A
72100 Sequencer Specific 43 76 1A 03 31 29 31 29
72288 Sequencer Specific 43 76 1A 03 31 1F 31 1F
72529 Sequencer Specific 43 76 1A 03 37 28 37 28
72640 Sequencer Specific 43 76 1A 03 31 1F 31 1F
72762 Sequencer Specific 43 76 1A 03 31 00 35 1E
72765 Sequencer Specific 43 76 1A 03 32 14 32 14
72956 Sequencer Specific 43 76 1A 03 31 00 35 1E
72958 Sequencer Specific 43 76 1A 03 31 00 31 00
73441 Sequencer Specific 43 76 1A 03 32 0A 32 0A
73723 Sequencer Specific 43 76 1A 03 31 00 31 00
73915 Sequencer Specific 43 76 1A 03 34 1F 34 1F
73918 Sequencer Specific 43 76 1A 03 34 00 34 00
74203 Sequencer Specific 43 76 1A 03 31 00 31 00
74206 Sequencer Specific 43 76 1A 03 31 00 31 1E
74395 Sequencer Specific 43 76 1A 03 32 13 32 1E
74669 Sequencer Specific 43 76 1A 03 35 13 35 13
74876 Sequencer Specific 43 76 1A 03 31 1E 31 1E
74878 Sequencer Specific 43 76 1A 03 31 00 31 1E
75024 Sequencer Specific 43 76 1A 01 06
75360 Sequencer Specific 43 76 1A 01 00
75648 Sequencer Specific 43 76 1A 03 33 08 33 08
75925 Sequencer Specific 43 76 1A 03 34 00 34 00
76109 Sequencer Specific 43 76 1A 03 34 1E 34 1E
76112 Sequencer Specific 43 76 1A 03 34 08 34 08
76497 Sequencer Specific 43 76 1A 03 31 08 31 08
76797 Sequencer Specific 43 76 1A 03 31 00 31 00
77090 Sequencer Specific 43 76 1A 03 31 1E 31 1E
77093 Sequencer Specific 43 76 1A 03 31 00 31 00
77292 Sequencer Specific 43 76 1A 03 31 00 31 1E
77356 Sequencer Specific 43 76 1A 03 31 00 31 00
77946 Sequencer Specific 43 76 1A 03 31 00 33 1E
78234 Sequencer Specific 43 76 1A 03 31 00 31 00
78237 Sequencer Specific 43 76 1A 03 31 00 33 1E
78522 Sequencer Specific 43 76 1A 03 31 00 31 00
78718 Sequencer Specific 43 76 1A 03 31 00 33 1E
79282 Sequencer Specific 43 76 1A 03 31 00 34 1E
79576 Sequencer Specific 43 76 1A 03 31 00 35 1E
79864 Sequencer Specific 43 76 1A 03 32 14 32 14
79866 Sequencer Specific 43 76 1A 03 31 04 32 1E
80157 Sequencer Specific 43 76 1A 03 32 13 32 13
80160 Sequencer Specific 43 76 1A 03 31 04 32 1E
80237 Sequencer Specific 43 76 1A 03 32 13 32 13
80438 Sequencer Specific 43 76 1A 03 31 04 31 04
80441 Sequencer Specific 43 76 1A 03 31 04 32 1E
80687 Sequencer Specific 43 76 1A 03 32 14 32 14
80804 Sequencer Specific 43 76 1A 03 31 04 32 1E
80921 Sequencer Specific 43 76 1A 03 31 28 22 1E
80924 Sequencer Specific 43 76 1A 03 22 25 22 1E
81295 Sequencer Specific 43 76 1A 03 22 00 22 00
81304 Sequencer Specific 43 76 1A 03 22 02 22 02
81307 Sequencer Specific 43 76 1A 03 31 26 22 1E
81363 Sequencer Specific 43 76 1A 03 22 00 22 00
81372 Sequencer Specific 43 76 1A 03 32 02 22 1E
81374 Sequencer Specific 43 76 1A 03 32 0F 32 0F
81418 Sequencer Specific 43 76 1A 03 22 00 22 00
81479 Sequencer Specific 43 76 1A 03 44 00 22 1E
81536 Sequencer Specific 43 76 1A 03 22 00 22 00
81539 Sequencer Specific 43 76 1A 03 22 24 22 24
81662 Sequencer Specific 43 76 1A 03 27 00 27 00
81664 Sequencer Specific 43 76 1A 03 27 13 27 13
81806 Sequencer Specific 43 76 1A 03 45 02 45 02
81808 Sequencer Specific 43 76 1A 03 45 23 45 23
81924 Sequencer Specific 43 76 1A 03 45 02 33 1E
82066 Sequencer Specific 43 76 1A 03 32 00 32 00
82068 Sequencer Specific 43 76 1A 03 35 04 35 04
82071 Sequencer Specific 43 76 1A 03 35 04 35 1E
82367 Sequencer Specific 43 76 1A 03 37 0B 37 1E
82552 Sequencer Specific 43 76 1A 03 37 00 31 1E
83093 Sequencer Specific 43 76 1A 03 31 00 31 00
83202 Sequencer Specific 43 76 1A 03 31 02 31 02
83517 Sequencer Specific 43 76 1A 03 31 02 37 1E
83797 Sequencer Specific 43 76 1A 03 31 02 31 1E
84062 Sequencer Specific 43 76 1A 03 31 02 31 02
84064 Sequencer Specific 43 76 1A 03 31 02 37 1E
84294 Sequencer Specific 43 76 1A 03 37 00 37 00
84296 Sequencer Specific 43 76 1A 03 31 02 37 1E
84946 Sequencer Specific 43 76 1A 03 31 00 31 00
85037 Sequencer Specific 43 76 1A 03 33 08 33 08
85040 Sequencer Specific 43 76 1A 03 31 02 31 02
85118 Sequencer Specific 43 76 1A 03 36 13 36 13
85121 Sequencer Specific 43 76 1A 03 36 14 36 14
85293 Sequencer Specific 43 76 1A 03 31 13 31 13
85395 Sequencer Specific 43 76 1A 03 32 13 32 13
85713 Sequencer Specific 43 76 1A 03 36 0E 36 0E
85901 Sequencer Specific 43 76 1A 03 22 13 22 13
86064 Sequencer Specific 43 76 1A 03 22 25 22 25
86392 Sequencer Specific 43 76 1A 03 32 00 32 00
86395 Sequencer Specific 43 76 1A 03 37 00 32 1E
86671 Sequencer Specific 43 76 1A 03 31 25 31 25
86873 Sequencer Specific 43 76 1A 03 34 00 34 00
86876 Sequencer Specific 43 76 1A 03 37 00 34 1E
87034 Sequencer Specific 43 76 1A 03 35 07 35 07
87037 Sequencer Specific 43 76 1A 03 35 1C 35 1C
87167 Sequencer Specific 43 76 1A 03 31 00 31 00
87170 Sequencer Specific 43 76 1A 03 31 25 31 25
87267 Sequencer Specific 43 76 1A 03 37 00 37 00
87354 Sequencer Specific 43 76 1A 03 27 00 27 00
87356 Sequencer Specific 43 76 1A 03 37 02 37 02
87446 Sequencer Specific 43 76 1A 03 36 1F 36 1F
87449 Sequencer Specific 43 76 1A 03 33 0E 33 0E
87560 Sequencer Specific 43 76 1A 03 45 00 45 00
87562 Sequencer Specific 43 76 1A 03 22 11 45 1E
87657 Sequencer Specific 43 76 1A 03 34 00 34 00
87660 Sequencer Specific 43 76 1A 03 23 26 34 1E
88620 Sequencer Specific 43 76 1A 03 33 00 33 00
88623 Sequencer Specific 43 76 1A 03 23 22 23 22
88625 Sequencer Specific 43 76 1A 03 33 0F 34 1E
88830 Sequencer Specific 43 76 1A 03 34 00 34 00
88833 Sequencer Specific 43 76 1A 03 23 26 34 1E
88961 Sequencer Specific 43 76 1A 03 34 00 34 00
88963 Sequencer Specific 43 76 1A 03 33 02 34 1E
89063 Sequencer Specific 43 76 1A 03 34 00 34 00
89066 Sequencer Specific 43 76 1A 03 23 27 34 1E
89261 Sequencer Specific 43 76 1A 03 34 00 34 00
89265 Sequencer Specific 43 76 1A 03 23 28 34 1E
89411 Sequencer Specific 43 76 1A 03 34 00 34 00
89416 Sequencer Specific 43 76 1A 03 33 02 34 1E
89562 Sequencer Specific 43 76 1A 03 31 00 35 1E
89564 Sequencer Specific 43 76 1A 03 35 14 35 14
89759 Sequencer Specific 43 76 1A 03 31 00 31 00
89761 Sequencer Specific 43 76 1A 03 44 27 31 1E
89906 Sequencer Specific 43 76 1A 03 44 00 44 00
89909 Sequencer Specific 43 76 1A 03 31 15 31 15
90030 Sequencer Specific 43 76 1A 03 32 00 32 00
90233 Sequencer Specific 43 76 1A 03 34 08 34 08
90520 Sequencer Specific 43 76 1A 03 45 08 37 1E
90522 Sequencer Specific 43 76 1A 03 37 12 37 1E
90690 Sequencer Specific 43 76 1A 03 27 08 27 08
90694 Sequencer Specific 43 76 1A 03 27 13 31 1E
91007 Sequencer Specific 43 76 1A 03 31 00 31 00
91009 Sequencer Specific 43 76 1A 03 45 00 31 1E
91012 Sequencer Specific 43 76 1A 03 31 1C 31 1C
91187 Sequencer Specific 43 76 1A 03 31 00 31 00
91189 Sequencer Specific 43 76 1A 03 31 02 31 02
91471 Sequencer Specific 43 76 1A 03 31 1E 31 1E
91473 Sequencer Specific 43 76 1A 03 31 00 31 1E
91570 Sequencer Specific 43 76 1A 03 31 1E 31 1E
91573 Sequencer Specific 43 76 1A 03 31 02 31 1E
91660 Sequencer Specific 43 76 1A 03 31 05 31 05
91760 Sequencer Specific 43 76 1A 03 36 0A 33 1E
91958 Sequencer Specific 43 76 1A 03 31 02 31 02
91961 Sequencer Specific 43 76 1A 03 31 0F 31 0F
92144 Sequencer Specific 43 76 1A 03 45 24 45 24
92147 Sequencer Specific 43 76 1A 03 45 23 33 1E
92322 Sequencer Specific 43 76 1A 03 22 00 37 1E
92324 Sequencer Specific 43 76 1A 03 37 22 34 1E
92531 Sequencer Specific 43 76 1A 03 27 08 27 08
92534 Sequencer Specific 43 76 1A 03 31 29 27 1E
92926 Sequencer Specific 43 76 1A 03 22 00 37 1E
92929 Sequencer Specific 43 76 1A 03 37 22 37 22
93128 Sequencer Specific 43 76 1A 03 22 00 37 1E
93131 Sequencer Specific 43 76 1A 03 37 22 37 22
93314 Sequencer Specific 43 76 1A 03 22 00 37 1E
93317 Sequencer Specific 43 76 1A 03 37 22 37 22
93495 Sequencer Specific 43 76 1A 03 37 00 37 00
93497 Sequencer Specific 43 76 1A 03 31 0F 45 1E
93591 Sequencer Specific 43 76 1A 03 33 28 33 28
93593 Sequencer Specific 43 76 1A 03 22 18 33 1E
93686 Sequencer Specific 43 76 1A 03 22 02 22 02
93689 Sequencer Specific 43 76 1A 03 22 02 34 1E
93776 Sequencer Specific 43 76 1A 03 23 13 23 13
93779 Sequencer Specific 43 76 1A 03 23 13 35 1E
93882 Sequencer Specific 43 76 1A 03 36 11 36 11
93885 Sequencer Specific 43 76 1A 03 34 1A 34 1A
93887 Sequencer Specific 43 76 1A 03 34 1A 36 1E
93978 Sequencer Specific 43 76 1A 03 22 00 22 00
93980 Sequencer Specific 43 76 1A 03 22 10 36 1E
94081 Sequencer Specific 43 76 1A 03 22 03 22 03
94083 Sequencer Specific 43 76 1A 03 36 17 34 1E
94176 Sequencer Specific 43 76 1A 03 36 00 36 00
94179 Sequencer Specific 43 76 1A 03 22 10 36 1E
94269 Sequencer Specific 43 76 1A 03 32 22 37 1E
95040 Sequencer Specific 43 76 1A 01 02
95330 Sequencer Specific 43 76 1A 03 31 00 31 1E
95333 Sequencer Specific 43 76 1A 03 31 04 31 1E
95500 Sequencer Specific 43 76 1A 03 31 2A 31 2A
95503 Sequencer Specific 43 76 1A 03 33 26 31 1E
95520 Sequencer Specific 43 76 1A 01 05
95797 Sequencer Specific 43 76 1A 03 45 00 31 1E
95800 Sequencer Specific 43 76 1A 03 45 22 31 1E
96482 Sequencer Specific 43 76 1A 03 44 26 31 1E
96485 Sequencer Specific 43 76 1A 03 35 22 31 1E
96772 Sequencer Specific 43 76 1A 03 35 02 35 02
96775 Sequencer Specific 43 76 1A 03 33 22 35 1E
96965 Sequencer Specific 43 76 1A 03 45 24 45 24
96967 Sequencer Specific 43 76 1A 03 36 0D 45 1E
96970 Sequencer Specific 43 76 1A 03 36 10 45 1E
97245 Sequencer Specific 43 76 1A 03 45 00 45 00
97247 Sequencer Specific 43 76 1A 03 45 13 32 1E
97432 Sequencer Specific 43 76 1A 03 23 24 23 24
97435 Sequencer Specific 43 76 1A 03 37 13 44 1E
97723 Sequencer Specific 43 76 1A 03 34 1E 34 1E
97725 Sequencer Specific 43 76 1A 03 35 22 34 1E
98199 Sequencer Specific 43 76 1A 03 34 14 34 1E
98202 Sequencer Specific 43 76 1A 03 45 22 34 1E
98397 Sequencer Specific 43 76 1A 03 45 13 45 13
98400 Sequencer Specific 43 76 1A 03 33 10 45 1E
98403 Sequencer Specific 43 76 1A 03 34 22 45 1E
98693 Sequencer Specific 43 76 1A 03 32 00 32 00
98695 Sequencer Specific 43 76 1A 03 23 0F 32 1E
98874 Sequencer Specific 43 76 1A 03 27 17 27 17
98877 Sequencer Specific 43 76 1A 03 31 04 33 1E
99038 Sequencer Specific 43 76 1A 03 32 19 32 19
99040 Sequencer Specific 43 76 1A 03 23 26 31 1E
99349 Sequencer Specific 43 76 1A 03 31 02 37 1E
99352 Sequencer Specific 43 76 1A 03 31 02 31 02
99511 Sequencer Specific 43 76 1A 03 31 00 31 00
99514 Sequencer Specific 43 76 1A 03 31 00 31 1E
99636 Sequencer Specific 43 76 1A 03 31 20 31 20
99639 Sequencer Specific 43 76 1A 03 35 14 32 1E
99821 Sequencer Specific 43 76 1A 03 36 0A 36 0A
99824 Sequencer Specific 43 76 1A 03 36 0A 33 1E
100124 Sequencer Specific 43 76 1A 03 33 00 33 00
100211 Sequencer Specific 43 76 1A 03 32 13 32 13
100214 Sequencer Specific 43 76 1A 03 32 17 32 17
100311 Sequencer Specific 43 76 1A 03 34 02 34 02
100314 Sequencer Specific 43 76 1A 03 33 26 34 1E
100598 Sequencer Specific 43 76 1A 03 23 00 23 00
100601 Sequencer Specific 43 76 1A 03 31 26 23 1E
100799 Sequencer Specific 43 76 1A 03 34 00 34 00
100801 Sequencer Specific 43 76 1A 03 34 13 34 13
100805 Sequencer Specific 43 76 1A 03 22 05 22 05
101083 Sequencer Specific 43 76 1A 03 31 28 31 28
101086 Sequencer Specific 43 76 1A 03 23 19 31 1E
101268 Sequencer Specific 43 76 1A 03 31 28 44 1E
101271 Sequencer Specific 43 76 1A 03 22 25 44 1E
101560 Sequencer Specific 43 76 1A 03 22 20 34 1E
101563 Sequencer Specific 43 76 1A 03 32 23 34 1E
101745 Sequencer Specific 43 76 1A 03 37 13 37 13
101748 Sequencer Specific 43 76 1A 03 31 25 36 1E
102041 Sequencer Specific 43 76 1A 03 35 1C 23 1E
102043 Sequencer Specific 43 76 1A 03 35 1C 37 1E
102237 Sequencer Specific 43 76 1A 03 44 22 36 1E
102720 Sequencer Specific 43 76 1A 01 09
103200 Sequencer Specific 43 76 1A 01 06
103680 Sequencer Specific 43 76 1A 01 00
103765 Sequencer Specific 43 76 1A 03 31 1F 31 1F
104160 Sequencer Specific 43 76 1A 03 32 14 32 14
104314 Sequencer Specific 43 76 1A 03 31 1F 31 1F
104316 Sequencer Specific 43 76 1A 03 32 14 32 14
104627 Sequencer Specific 43 76 1A 03 32 13 32 13
104630 Sequencer Specific 43 76 1A 03 32 14 32 14
104711 Sequencer Specific 43 76 1A 03 35 00 35 00
104714 Sequencer Specific 43 76 1A 03 32 14 32 14
104913 Sequencer Specific 43 76 1A 03 33 00 33 00
104916 Sequencer Specific 43 76 1A 03 33 08 33 08
104918 Sequencer Specific 43 76 1A 03 35 13 33 1E
105005 Sequencer Specific 43 76 1A 03 35 00 35 00
105009 Sequencer Specific 43 76 1A 03 31 21 31 21
105011 Sequencer Specific 43 76 1A 03 31 04 31 04
105093 Sequencer Specific 43 76 1A 03 31 08 31 08
105096 Sequencer Specific 43 76 1A 03 45 17 45 17
105201 Sequencer Specific 43 76 1A 03 31 00 33 1E
105204 Sequencer Specific 43 76 1A 03 44 17 33 1E
105301 Sequencer Specific 43 76 1A 03 31 00 35 1E
105305 Sequencer Specific 43 76 1A 03 34 28 35 1E
105600 Sequencer Specific 43 76 1A 01 04
106348 Sequencer Specific 43 76 1A 03 27 0A 32 1E
106351 Sequencer Specific 43 76 1A 03 31 22 32 1E
107520 <meta message end_of_track time=1169>

Note: mashing the A/B button will not allow you to access FILL AA. I guess we don't support it.


In [112]:
tmetas = [m for m in t1.tracks[0] if m.type == 'sequencer_specific']

In [122]:
for i, m in enumerate(tmetas):
    print("{:3d}: {:4d} | {:<14} #".format(i, m.time, hexspace(m.data[3:])))


  0:    0 | 04 00 36       #
  1:    0 | 02 64          #
  2:    0 | 01 05          #
  3:  481 | 01 06          #
  4:  150 | 01 02          #
  5:   97 | 01 06          #
  6:  100 | 01 02          #
  7:  132 | 01 06          #
  8:   87 | 01 02          #
  9:  393 | 01 05          #
 10:  486 | 01 06          #
 11:  474 | 01 00          #
 12:   91 | 03 31 00 31 00 #
 13: 1823 | 03 31 04 31 04 #
 14:  478 | 03 31 01 31 01 #
 15:  962 | 03 31 04 31 04 #
 16:    3 | 03 31 06 31 06 #
 17:  958 | 03 31 02 31 02 #
 18:  957 | 03 31 05 31 05 #
 19:  961 | 03 31 03 31 03 #
 20:  953 | 03 44 27 31 1E #
 21:  968 | 03 44 29 31 1E #
 22: 1441 | 03 31 24 31 24 #
 23:  960 | 03 31 23 31 23 #
 24:  959 | 03 31 20 31 20 #
 25: 1116 | 03 31 07 31 07 #
 26:  807 | 03 31 1C 31 1C #
 27:  955 | 03 31 08 31 08 #
 28:  658 | 03 31 0C 31 0C #
 29:  787 | 03 31 09 31 09 #
 30:  962 | 03 31 0A 31 0A #
 31:  961 | 03 31 0D 31 0D #
 32: 1435 | 03 23 21 23 21 #
 33:    3 | 03 31 0E 31 0E #
 34: 1242 | 03 31 0F 31 0F #
 35:  857 | 03 23 00 23 00 #
 36:    2 | 03 31 10 31 10 #
 37: 1252 | 03 31 0B 31 0B #
 38:  965 | 03 31 25 31 25 #
 39: 1917 | 03 31 11 31 11 #
 40:  480 | 03 31 12 31 12 #
 41:  483 | 03 31 13 31 13 #
 42:  957 | 03 31 19 31 19 #
 43:  963 | 03 31 1A 31 1A #
 44:  969 | 03 31 16 31 16 #
 45: 1913 | 03 31 17 31 17 #
 46:  959 | 03 31 18 31 18 #
 47: 1122 | 03 31 19 31 19 #
 48:  791 | 03 31 1B 31 1B #
 49: 1337 | 03 31 13 31 13 #
 50:    3 | 03 31 15 31 15 #
 51: 1060 | 03 31 1D 31 1D #
 52:  482 | 03 31 14 31 14 #
 53:  960 | 03 31 21 31 21 #
 54:  963 | 03 31 1F 31 1F #
 55:  957 | 03 31 1E 31 1E #
 56: 2097 | 03 31 26 31 26 #
 57:  788 | 03 22 00 22 00 #
 58:    3 | 03 31 27 31 27 #
 59:  958 | 03 31 28 31 28 #
 60:  586 | 01 02          #
 61:  376 | 01 05          #
 62:    4 | 03 31 00 31 00 #
 63:  460 | 03 22 00 22 00 #
 64:  489 | 03 32 00 32 00 #
 65:  482 | 03 23 00 23 00 #
 66:  479 | 03 33 00 33 00 #
 67:  486 | 03 34 00 34 00 #
 68:   99 | 03 44 00 44 00 #
 69:   96 | 03 35 00 35 00 #
 70:   95 | 03 45 00 45 00 #
 71:  190 | 03 36 00 36 00 #
 72:  104 | 03 27 00 27 00 #
 73:  178 | 03 37 00 37 00 #
 74:  191 | 03 31 00 31 00 #
 75:  549 | 03 31 1E 31 1E #
 76:  224 | 03 37 1E 37 1E #
 77:  194 | 03 27 1E 27 1E #
 78:  282 | 03 36 1E 36 1E #
 79:  186 | 03 45 1E 45 1E #
 80:  288 | 03 35 00 35 00 #
 81:    3 | 03 35 1E 35 1E #
 82:  194 | 03 44 00 44 00 #
 83:    3 | 03 44 1E 44 1E #
 84:  278 | 03 34 1E 34 1E #
 85:  205 | 03 33 00 33 00 #
 86:    4 | 03 33 1E 33 1E #
 87:  276 | 03 23 00 23 00 #
 88:    2 | 03 23 1E 23 1E #
 89:  191 | 03 32 1E 32 1E #
 90:  285 | 03 22 1E 22 1E #
 91:  200 | 03 31 1E 31 1E #
 92:  485 | 03 31 00 35 1E #
 93:  467 | 03 22 00 45 1E #
 94:  291 | 03 32 00 36 1E #
 95:  194 | 03 23 00 27 1E #
 96:  289 | 03 33 00 37 1E #
 97:  191 | 03 34 00 34 00 #
 98:    2 | 03 34 00 31 1E #
 99:  285 | 03 44 00 22 1E #
100:  193 | 03 35 00 35 00 #
101:    3 | 03 35 00 32 1E #
102:  275 | 03 45 00 23 1E #
103:  194 | 03 36 00 36 00 #
104:    3 | 03 36 00 33 1E #
105:  287 | 03 27 00 27 00 #
106:    3 | 03 27 00 34 1E #
107:  196 | 03 37 00 44 1E #
108:  286 | 03 31 00 35 1E #
109:  191 | 03 33 08 33 08 #
110:    2 | 03 31 00 31 00 #
111:  482 | 03 31 13 31 13 #
112:  280 | 03 31 08 31 08 #
113:  197 | 03 36 08 36 08 #
114:  285 | 03 45 00 45 00 #
115:  198 | 03 31 00 35 1E #
116:  272 | 03 44 24 44 24 #
117:  206 | 03 34 1F 34 1F #
118:  291 | 03 31 00 33 1E #
119:  184 | 03 32 13 32 13 #
120:  479 | 03 31 04 31 04 #
121:  388 | 03 32 00 32 00 #
122:    3 | 03 31 04 31 04 #
123:   87 | 03 32 00 32 00 #
124:  109 | 03 31 04 31 04 #
125:   91 | 03 22 25 22 25 #
126:  286 | 03 31 00 31 00 #
127:  283 | 03 31 04 31 04 #
128:  196 | 03 33 00 33 00 #
129:    3 | 03 34 21 33 1E #
130:  279 | 03 34 08 34 08 #
131:  197 | 03 33 11 33 11 #
132:  288 | 03 31 1F 31 1F #
133:    3 | 03 32 14 32 14 #
134:  676 | 03 31 08 31 08 #
135:  294 | 03 31 00 31 00 #
136:  185 | 03 23 00 23 00 #
137:    3 | 03 33 1C 33 1C #
138:  276 | 03 31 00 33 1E #
139:  270 | 03 31 24 31 24 #
140:  214 | 03 35 00 35 00 #
141:    2 | 03 31 00 35 1E #
142:  197 | 03 31 00 31 00 #
143:  959 | 03 31 00 23 1E #
144:  283 | 03 31 00 34 1E #
145:  278 | 03 31 00 31 00 #
146:    2 | 03 31 00 44 1E #
147:  490 | 03 31 00 31 00 #
148:   87 | 03 31 00 35 1E #
149:  374 | 03 31 00 31 00 #
150:    3 | 03 31 00 33 1E #
151:  201 | 03 31 1E 31 1E #
152:    3 | 03 31 00 31 1E #
153:  175 | 03 31 1E 31 1E #
154:  301 | 03 22 25 22 25 #
155:    2 | 03 22 25 22 1E #
156:   97 | 03 22 02 22 02 #
157:    4 | 03 22 25 22 1E #
158:   95 | 03 22 02 22 02 #
159:    6 | 03 22 25 22 1E #
160:   71 | 03 31 00 31 00 #
161:    3 | 03 22 25 22 25 #
162:  233 | 03 22 00 22 00 #
163:   50 | 03 22 08 22 08 #
164:    2 | 03 31 02 22 1E #
165:   80 | 03 22 25 22 25 #
166:  105 | 03 31 19 31 19 #
167:  221 | 03 22 00 22 00 #
168:    3 | 03 31 29 22 1E #
169:  750 | 03 22 0A 22 0A #
170:  209 | 03 27 08 22 1E #
171:    3 | 03 31 29 22 1E #
172:  206 | 03 22 02 22 02 #
173:   13 | 03 31 29 22 1E #
174:   53 | 03 22 00 22 00 #
175:    3 | 03 31 29 22 1E #
176:  200 | 03 31 29 32 1E #
177:  192 | 03 31 29 23 1E #
178:  283 | 03 22 0F 22 0F #
179:  225 | 03 31 13 31 13 #
180:    3 | 03 31 19 31 19 #
181:  122 | 03 31 29 23 1E #
182:  128 | 03 33 24 33 24 #
183:    3 | 03 31 19 31 19 #
184:   87 | 03 27 0C 27 0C #
185:   85 | 03 22 0A 22 0A #
186:    3 | 03 31 29 44 1E #
187:  109 | 03 31 29 35 1E #
188:   96 | 03 27 0D 27 0D #
189:  103 | 03 27 10 27 10 #
190:   98 | 03 31 29 27 1E #
191:   99 | 03 31 29 37 1E #
192:   98 | 03 22 0A 22 0A #
193:    3 | 03 31 29 31 29 #
194:  188 | 03 31 1F 31 1F #
195:  241 | 03 37 28 37 28 #
196:  111 | 03 31 1F 31 1F #
197:  122 | 03 31 00 35 1E #
198:    3 | 03 32 14 32 14 #
199:  191 | 03 31 00 35 1E #
200:    2 | 03 31 00 31 00 #
201:  483 | 03 32 0A 32 0A #
202:  282 | 03 31 00 31 00 #
203:  192 | 03 34 1F 34 1F #
204:    3 | 03 34 00 34 00 #
205:  285 | 03 31 00 31 00 #
206:    3 | 03 31 00 31 1E #
207:  189 | 03 32 13 32 1E #
208:  274 | 03 35 13 35 13 #
209:  207 | 03 31 1E 31 1E #
210:    2 | 03 31 00 31 1E #
211:  146 | 01 06          #
212:  336 | 01 00          #
213:  288 | 03 33 08 33 08 #
214:  277 | 03 34 00 34 00 #
215:  184 | 03 34 1E 34 1E #
216:    3 | 03 34 08 34 08 #
217:  385 | 03 31 08 31 08 #
218:  300 | 03 31 00 31 00 #
219:  293 | 03 31 1E 31 1E #
220:    3 | 03 31 00 31 00 #
221:  199 | 03 31 00 31 1E #
222:   64 | 03 31 00 31 00 #
223:  590 | 03 31 00 33 1E #
224:  288 | 03 31 00 31 00 #
225:    3 | 03 31 00 33 1E #
226:  285 | 03 31 00 31 00 #
227:  196 | 03 31 00 33 1E #
228:  564 | 03 31 00 34 1E #
229:  294 | 03 31 00 35 1E #
230:  288 | 03 32 14 32 14 #
231:    2 | 03 31 04 32 1E #
232:  291 | 03 32 13 32 13 #
233:    3 | 03 31 04 32 1E #
234:   77 | 03 32 13 32 13 #
235:  201 | 03 31 04 31 04 #
236:    3 | 03 31 04 32 1E #
237:  246 | 03 32 14 32 14 #
238:  117 | 03 31 04 32 1E #
239:  117 | 03 31 28 22 1E #
240:    3 | 03 22 25 22 1E #
241:  371 | 03 22 00 22 00 #
242:    9 | 03 22 02 22 02 #
243:    3 | 03 31 26 22 1E #
244:   56 | 03 22 00 22 00 #
245:    9 | 03 32 02 22 1E #
246:    2 | 03 32 0F 32 0F #
247:   44 | 03 22 00 22 00 #
248:   61 | 03 44 00 22 1E #
249:   57 | 03 22 00 22 00 #
250:    3 | 03 22 24 22 24 #
251:  123 | 03 27 00 27 00 #
252:    2 | 03 27 13 27 13 #
253:  142 | 03 45 02 45 02 #
254:    2 | 03 45 23 45 23 #
255:  116 | 03 45 02 33 1E #
256:  142 | 03 32 00 32 00 #
257:    2 | 03 35 04 35 04 #
258:    3 | 03 35 04 35 1E #
259:  296 | 03 37 0B 37 1E #
260:  185 | 03 37 00 31 1E #
261:  541 | 03 31 00 31 00 #
262:  109 | 03 31 02 31 02 #
263:  315 | 03 31 02 37 1E #
264:  280 | 03 31 02 31 1E #
265:  265 | 03 31 02 31 02 #
266:    2 | 03 31 02 37 1E #
267:  230 | 03 37 00 37 00 #
268:    2 | 03 31 02 37 1E #
269:  650 | 03 31 00 31 00 #
270:   91 | 03 33 08 33 08 #
271:    3 | 03 31 02 31 02 #
272:   78 | 03 36 13 36 13 #
273:    3 | 03 36 14 36 14 #
274:  172 | 03 31 13 31 13 #
275:  102 | 03 32 13 32 13 #
276:  318 | 03 36 0E 36 0E #
277:  188 | 03 22 13 22 13 #
278:  163 | 03 22 25 22 25 #
279:  328 | 03 32 00 32 00 #
280:    3 | 03 37 00 32 1E #
281:  276 | 03 31 25 31 25 #
282:  202 | 03 34 00 34 00 #
283:    3 | 03 37 00 34 1E #
284:  158 | 03 35 07 35 07 #
285:    3 | 03 35 1C 35 1C #
286:  130 | 03 31 00 31 00 #
287:    3 | 03 31 25 31 25 #
288:   97 | 03 37 00 37 00 #
289:   87 | 03 27 00 27 00 #
290:    2 | 03 37 02 37 02 #
291:   90 | 03 36 1F 36 1F #
292:    3 | 03 33 0E 33 0E #
293:  111 | 03 45 00 45 00 #
294:    2 | 03 22 11 45 1E #
295:   95 | 03 34 00 34 00 #
296:    3 | 03 23 26 34 1E #
297:  960 | 03 33 00 33 00 #
298:    3 | 03 23 22 23 22 #
299:    2 | 03 33 0F 34 1E #
300:  205 | 03 34 00 34 00 #
301:    3 | 03 23 26 34 1E #
302:  128 | 03 34 00 34 00 #
303:    2 | 03 33 02 34 1E #
304:  100 | 03 34 00 34 00 #
305:    3 | 03 23 27 34 1E #
306:  195 | 03 34 00 34 00 #
307:    4 | 03 23 28 34 1E #
308:  146 | 03 34 00 34 00 #
309:    5 | 03 33 02 34 1E #
310:  146 | 03 31 00 35 1E #
311:    2 | 03 35 14 35 14 #
312:  195 | 03 31 00 31 00 #
313:    2 | 03 44 27 31 1E #
314:  145 | 03 44 00 44 00 #
315:    3 | 03 31 15 31 15 #
316:  121 | 03 32 00 32 00 #
317:  203 | 03 34 08 34 08 #
318:  287 | 03 45 08 37 1E #
319:    2 | 03 37 12 37 1E #
320:  168 | 03 27 08 27 08 #
321:    4 | 03 27 13 31 1E #
322:  313 | 03 31 00 31 00 #
323:    2 | 03 45 00 31 1E #
324:    3 | 03 31 1C 31 1C #
325:  175 | 03 31 00 31 00 #
326:    2 | 03 31 02 31 02 #
327:  282 | 03 31 1E 31 1E #
328:    2 | 03 31 00 31 1E #
329:   97 | 03 31 1E 31 1E #
330:    3 | 03 31 02 31 1E #
331:   87 | 03 31 05 31 05 #
332:  100 | 03 36 0A 33 1E #
333:  198 | 03 31 02 31 02 #
334:    3 | 03 31 0F 31 0F #
335:  183 | 03 45 24 45 24 #
336:    3 | 03 45 23 33 1E #
337:  175 | 03 22 00 37 1E #
338:    2 | 03 37 22 34 1E #
339:  207 | 03 27 08 27 08 #
340:    3 | 03 31 29 27 1E #
341:  392 | 03 22 00 37 1E #
342:    3 | 03 37 22 37 22 #
343:  199 | 03 22 00 37 1E #
344:    3 | 03 37 22 37 22 #
345:  183 | 03 22 00 37 1E #
346:    3 | 03 37 22 37 22 #
347:  178 | 03 37 00 37 00 #
348:    2 | 03 31 0F 45 1E #
349:   94 | 03 33 28 33 28 #
350:    2 | 03 22 18 33 1E #
351:   93 | 03 22 02 22 02 #
352:    3 | 03 22 02 34 1E #
353:   87 | 03 23 13 23 13 #
354:    3 | 03 23 13 35 1E #
355:  103 | 03 36 11 36 11 #
356:    3 | 03 34 1A 34 1A #
357:    2 | 03 34 1A 36 1E #
358:   91 | 03 22 00 22 00 #
359:    2 | 03 22 10 36 1E #
360:  101 | 03 22 03 22 03 #
361:    2 | 03 36 17 34 1E #
362:   93 | 03 36 00 36 00 #
363:    3 | 03 22 10 36 1E #
364:   90 | 03 32 22 37 1E #
365:  771 | 01 02          #
366:  290 | 03 31 00 31 1E #
367:    3 | 03 31 04 31 1E #
368:  167 | 03 31 2A 31 2A #
369:    3 | 03 33 26 31 1E #
370:   17 | 01 05          #
371:  277 | 03 45 00 31 1E #
372:    3 | 03 45 22 31 1E #
373:  682 | 03 44 26 31 1E #
374:    3 | 03 35 22 31 1E #
375:  287 | 03 35 02 35 02 #
376:    3 | 03 33 22 35 1E #
377:  190 | 03 45 24 45 24 #
378:    2 | 03 36 0D 45 1E #
379:    3 | 03 36 10 45 1E #
380:  275 | 03 45 00 45 00 #
381:    2 | 03 45 13 32 1E #
382:  185 | 03 23 24 23 24 #
383:    3 | 03 37 13 44 1E #
384:  288 | 03 34 1E 34 1E #
385:    2 | 03 35 22 34 1E #
386:  474 | 03 34 14 34 1E #
387:    3 | 03 45 22 34 1E #
388:  195 | 03 45 13 45 13 #
389:    3 | 03 33 10 45 1E #
390:    3 | 03 34 22 45 1E #
391:  290 | 03 32 00 32 00 #
392:    2 | 03 23 0F 32 1E #
393:  179 | 03 27 17 27 17 #
394:    3 | 03 31 04 33 1E #
395:  161 | 03 32 19 32 19 #
396:    2 | 03 23 26 31 1E #
397:  309 | 03 31 02 37 1E #
398:    3 | 03 31 02 31 02 #
399:  159 | 03 31 00 31 00 #
400:    3 | 03 31 00 31 1E #
401:  122 | 03 31 20 31 20 #
402:    3 | 03 35 14 32 1E #
403:  182 | 03 36 0A 36 0A #
404:    3 | 03 36 0A 33 1E #
405:  300 | 03 33 00 33 00 #
406:   87 | 03 32 13 32 13 #
407:    3 | 03 32 17 32 17 #
408:   97 | 03 34 02 34 02 #
409:    3 | 03 33 26 34 1E #
410:  284 | 03 23 00 23 00 #
411:    3 | 03 31 26 23 1E #
412:  198 | 03 34 00 34 00 #
413:    2 | 03 34 13 34 13 #
414:    4 | 03 22 05 22 05 #
415:  278 | 03 31 28 31 28 #
416:    3 | 03 23 19 31 1E #
417:  182 | 03 31 28 44 1E #
418:    3 | 03 22 25 44 1E #
419:  289 | 03 22 20 34 1E #
420:    3 | 03 32 23 34 1E #
421:  182 | 03 37 13 37 13 #
422:    3 | 03 31 25 36 1E #
423:  293 | 03 35 1C 23 1E #
424:    2 | 03 35 1C 37 1E #
425:  194 | 03 44 22 36 1E #
426:  483 | 01 09          #
427:  480 | 01 06          #
428:  480 | 01 00          #
429:   85 | 03 31 1F 31 1F #
430:  395 | 03 32 14 32 14 #
431:  154 | 03 31 1F 31 1F #
432:    2 | 03 32 14 32 14 #
433:  311 | 03 32 13 32 13 #
434:    3 | 03 32 14 32 14 #
435:   81 | 03 35 00 35 00 #
436:    3 | 03 32 14 32 14 #
437:  199 | 03 33 00 33 00 #
438:    3 | 03 33 08 33 08 #
439:    2 | 03 35 13 33 1E #
440:   87 | 03 35 00 35 00 #
441:    4 | 03 31 21 31 21 #
442:    2 | 03 31 04 31 04 #
443:   82 | 03 31 08 31 08 #
444:    3 | 03 45 17 45 17 #
445:  105 | 03 31 00 33 1E #
446:    3 | 03 44 17 33 1E #
447:   97 | 03 31 00 35 1E #
448:    4 | 03 34 28 35 1E #
449:  295 | 01 04          #
450:  748 | 03 27 0A 32 1E #
451:    3 | 03 31 22 32 1E #

Now, let's attempt to annotate. First, I tried to do all the recognised chords in the manual order, then some other things, and then all the keys in order, and then I tried to get some weird looking chords.

Seq: delta| Bytes

  0:    0 | 04 00 36       # Style No.
  1:    0 | 02 64          # Style Vol
  2:    0 | 01 05          # MAIN B
  3:  481 | 01 06          # FILL A
  4:  150 | 01 02          # FILL B
  5:   97 | 01 06          # FILL A
  6:  100 | 01 02          # FILL B
  7:  132 | 01 06          # FILL A
  8:   87 | 01 02          # FILL B
  9:  393 | 01 05          # MAIN B
 10:  486 | 01 06          # FILL A
 11:  474 | 01 00          # MAIN A
 12:   91 | 03 31 00 31 00 # C Major
 13: 1823 | 03 31 04 31 04 # C(9)
 14:  478 | 03 31 01 31 01 # C6
 15:  962 | 03 31 04 31 04 # (intermittent C9)
 16:    3 | 03 31 06 31 06 # C6(9) 
 17:  958 | 03 31 02 31 02 # CM7
 18:  957 | 03 31 05 31 05 # CM7(9)
 19:  961 | 03 31 03 31 03 # CM7(#11)
 20:  953 | 03 44 27 31 1E # (Forgot to press E and ended up with some F# chords)
 21:  968 | 03 44 29 31 1E #
 22: 1441 | 03 31 24 31 24 # Cb5
 23:  960 | 03 31 23 31 23 # CM7b5
 24:  959 | 03 31 20 31 20 # Csus4
 25: 1116 | 03 31 07 31 07 # Caug
 26:  807 | 03 31 1C 31 1C # CM7aug
 27:  955 | 03 31 08 31 08 # Cm
 28:  658 | 03 31 0C 31 0C # Cm(9)
 29:  787 | 03 31 09 31 09 # Cm6
 30:  962 | 03 31 0A 31 0A # Cm7
 31:  961 | 03 31 0D 31 0D # Cm7(9)
 32: 1435 | 03 23 21 23 21 # (intermittent chord)
 33:    3 | 03 31 0E 31 0E # Cm7(11)
 34: 1242 | 03 31 0F 31 0F # CmM7
 35:  857 | 03 23 00 23 00 # (intermittent chord)
 36:    2 | 03 31 10 31 10 # CmM7(9)
 37: 1252 | 03 31 0B 31 0B # Cm7b5
 38:  965 | 03 31 25 31 25 # CmM7b5
 39: 1917 | 03 31 11 31 11 # Cdim
 40:  480 | 03 31 12 31 12 # Cdim7
 41:  483 | 03 31 13 31 13 # C7
 42:  957 | 03 31 19 31 19 # C7(b9)
 43:  963 | 03 31 1A 31 1A # C7(b13)
 44:  969 | 03 31 16 31 16 # C7(9)
 45: 1913 | 03 31 17 31 17 # C7(#11)
 46:  959 | 03 31 18 31 18 # C7(13)
 47: 1122 | 03 31 19 31 19 # C7(b9) again
 48:  791 | 03 31 1B 31 1B # C7(#9)
 49: 1337 | 03 31 13 31 13 # (intermittent)
 50:    3 | 03 31 15 31 15 # C7b5
 51: 1060 | 03 31 1D 31 1D # C7aug
 52:  482 | 03 31 14 31 14 # C7sus4
 53:  960 | 03 31 21 31 21 # Csus2
 54:  963 | 03 31 1F 31 1F # C1+5
 55:  957 | 03 31 1E 31 1E # C1+8
 56: 2097 | 03 31 26 31 26 # C* (C + Db + Eb)
 57:  788 | 03 22 00 22 00 # (intermittent)
 58:    3 | 03 31 27 31 27 # C* (C + Db + 
 59:  958 | 03 31 28 31 28 # C* (C + Db + 
 60:  586 | 01 02          #
 61:  376 | 01 05          #
 62:    4 | 03 31 00 31 00 # C
 63:  460 | 03 22 00 22 00 # Db
 64:  489 | 03 32 00 32 00 # D
 65:  482 | 03 23 00 23 00 # Eb
 66:  479 | 03 33 00 33 00 # E
 67:  486 | 03 34 00 34 00 # F
 68:   99 | 03 44 00 44 00 # F#
 69:   96 | 03 35 00 35 00 # G
 70:   95 | 03 45 00 45 00 # G#
 71:  190 | 03 36 00 36 00 # A
 72:  104 | 03 27 00 27 00 # Bb
 73:  178 | 03 37 00 37 00 # B
 74:  191 | 03 31 00 31 00 # C
 75:  549 | 03 31 1E 31 1E # C1+8
 76:  224 | 03 37 1E 37 1E # B1+8
 77:  194 | 03 27 1E 27 1E # B♭1+8
 78:  282 | 03 36 1E 36 1E # A1+8
 79:  186 | 03 45 1E 45 1E # G♯1+8
 80:  288 | 03 35 00 35 00 # (intermittent G)
 81:    3 | 03 35 1E 35 1E # G1+8
 82:  194 | 03 44 00 44 00 # (intermittent F#)
 83:    3 | 03 44 1E 44 1E # F♯1+8
 84:  278 | 03 34 1E 34 1E # F1+8
 85:  205 | 03 33 00 33 00 # (intermittent E)
 86:    4 | 03 33 1E 33 1E # E1+8
 87:  276 | 03 23 00 23 00 # (intermittent Eb)
 88:    2 | 03 23 1E 23 1E # Eb1+8
 89:  191 | 03 32 1E 32 1E # D1+8
 90:  285 | 03 22 1E 22 1E # Db1+8
 91:  200 | 03 31 1E 31 1E # C1+8
 92:  485 | 03 31 00 35 1E # C/G  (you get this with a fourth)
 93:  467 | 03 22 00 45 1E # Db/G#
 94:  291 | 03 32 00 36 1E # D/A
 95:  194 | 03 23 00 27 1E # Eb/Bb
 96:  289 | 03 33 00 37 1E # E/B
 97:  191 | 03 34 00 34 00 # (intermittent F)
 98:    2 | 03 34 00 31 1E # F/C
 99:  285 | 03 44 00 22 1E # F#/Db
100:  193 | 03 35 00 35 00 # (intermittent G)
101:    3 | 03 35 00 32 1E # G/D
102:  275 | 03 45 00 23 1E # G#/Eb
103:  194 | 03 36 00 36 00 # (intermittent A)
104:    3 | 03 36 00 33 1E # A/E
105:  287 | 03 27 00 27 00 # (intermittent Bb)
106:    3 | 03 27 00 34 1E # Bb/F
107:  196 | 03 37 00 44 1E # B/F#
108:  286 | 03 31 00 35 1E # C/G
109:  191 | 03 33 08 33 08 # (intermittent Em)
110:    2 | 03 31 00 31 00 # C  (C alone)
111:  482 | 03 31 13 31 13 # C7 (C with adjacent B shortcut)
112:  280 | 03 31 08 31 08 # Cm (C with adjacent Bb shortcut)
113:  197 | 03 36 08 36 08 # Am (A + C)
114:  285 | 03 45 00 45 00 # G# (G#+C)
115:  198 | 03 31 00 35 1E # C/G (G + C)
116:  272 | 03 44 24 44 24 # F#b5 (F# + C)
117:  206 | 03 34 1F 34 1F # F1+5 (F + C)
118:  291 | 03 31 00 33 1E # C/E (E + C)
119:  184 | 03 32 13 32 13 # D7 
120:  479 | 03 31 04 31 04 # C9 
121:  388 | 03 32 00 32 00 # (intermittent D)
122:    3 | 03 31 04 31 04 # C9
123:   87 | 03 32 00 32 00 # D
124:  109 | 03 31 04 31 04 #

296:    3 | 03 23 26 34 1E #
297:  960 | 03 33 00 33 00 #
298:    3 | 03 23 22 23 22 # The Mysterious Chord 22
299:    2 | 03 33 0F 34 1E #

306:  195 | 03 34 00 34 00 #
307:    4 | 03 23 28 34 1E # Chord 28
308:  146 | 03 34 00 34 00 #

336:    3 | 03 45 23 33 1E #
337:  175 | 03 22 00 37 1E #
338:    2 | 03 37 22 34 1E # Chord 22, but with a bottom accompaniment
339:  207 | 03 27 08 27 08 #

Time for even more testing?


In [8]:
!python collect.py -g DGX > documents/data/user_song_tests/10track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [10]:
trackprint(t1.tracks[1])


0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 0 Bank MSB 0
0 0 Bank LSB 113
0 0 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
0 A Bank MSB 0
0 A Bank LSB 112
0 A Program Change [0,112,48] 054 String Ensemble (STRINGS)
0 0 RPN MSB 0
0 0 RPN LSB 0
0 0 Data Entry MSB: Pitch Bend Range 2
0 0 RPN LSB 127
0 0 RPN MSB 127
0 A RPN MSB 0
0 A RPN LSB 0
0 A Data Entry MSB: Pitch Bend Range 2
0 A RPN LSB 127
0 A RPN MSB 127
0 0 Voice Reverb Level 20
0 0 Voice Chorus Level 0
0 0 [Control 94] 0
0 0 Voice Volume 110
0 0 Voice Pan 64
0 0 Expression 127
0 0 Release Time 0
0 0 Pedal Sustain OFF
0 A Voice Reverb Level 50
0 A Voice Chorus Level 0
0 A [Control 94] 0
0 A Voice Volume 36
0 A Voice Pan 64
0 A Expression 127
0 A Release Time 0
0 A Pedal Sustain OFF
0 polytouch channel=0 note=0 value=64 time=0
0 0 Pitch Bend 0
0 A Pitch Bend 0
0 0 Note 072(C4) 80
47 0 Note 072(C4) 0
95 0 Note 072(C4) 80
143 0 Note 072(C4) 0
191 0 Note 072(C4) 80
239 0 Note 072(C4) 0
287 0 Note 072(C4) 80
335 0 Note 072(C4) 0
383 0 Note 072(C4) 80
431 0 Note 072(C4) 0
479 0 Note 072(C4) 80
527 0 Note 072(C4) 0
575 0 Note 072(C4) 80
623 0 Note 072(C4) 0
671 0 Note 072(C4) 80
719 0 Note 072(C4) 0
767 0 Note 072(C4) 80
815 0 Note 072(C4) 0
863 0 Note 072(C4) 80
911 0 Note 072(C4) 0
959 0 Note 072(C4) 80
1007 0 Note 072(C4) 0
1055 0 Note 072(C4) 80
1103 0 Note 072(C4) 0
1151 0 Note 072(C4) 80
1199 0 Note 072(C4) 0
1247 0 Note 072(C4) 80
1295 0 Note 072(C4) 0
1343 0 Note 072(C4) 80
1391 0 Note 072(C4) 0
1439 0 Note 072(C4) 80
1487 0 Note 072(C4) 0
1535 0 Note 072(C4) 80
1583 0 Note 072(C4) 0
1631 0 Note 072(C4) 80
1679 0 Note 072(C4) 0
1727 0 Note 072(C4) 80
1775 0 Note 072(C4) 0
1823 0 Note 072(C4) 80
1871 0 Note 072(C4) 0
1919 0 Note 072(C4) 80
1967 0 Note 072(C4) 0
2015 0 Note 072(C4) 80
2063 0 Note 072(C4) 0
2111 0 Note 072(C4) 80
2159 0 Note 072(C4) 0
2207 0 Note 072(C4) 80
2255 0 Note 072(C4) 0
2303 0 Note 072(C4) 80
2351 0 Note 072(C4) 0
2399 0 Note 072(C4) 80
2447 0 Note 072(C4) 0
2495 0 Note 072(C4) 80
2543 0 Note 072(C4) 0
2591 0 Note 072(C4) 80
2639 0 Note 072(C4) 0
2687 0 Note 072(C4) 80
2735 0 Note 072(C4) 0
2783 0 Note 072(C4) 80
2831 0 Note 072(C4) 0
2879 0 Note 072(C4) 80
2927 0 Note 072(C4) 0
2975 0 Note 072(C4) 80
3023 0 Note 072(C4) 0
3071 0 Note 072(C4) 80
3119 0 Note 072(C4) 0
3167 0 Note 072(C4) 80
3215 0 Note 072(C4) 0
3263 0 Note 072(C4) 80
3311 0 Note 072(C4) 0
3359 0 Note 072(C4) 80
3407 0 Note 072(C4) 0
3455 0 Note 072(C4) 80
3503 0 Note 072(C4) 0
3551 0 Note 072(C4) 80
3599 0 Note 072(C4) 0
3647 0 Note 072(C4) 80
3695 0 Note 072(C4) 0
3743 0 Note 072(C4) 80
3791 0 Note 072(C4) 0
3839 0 Note 072(C4) 80
3887 0 Note 072(C4) 0
3935 0 Note 072(C4) 80
3983 0 Note 072(C4) 0
4031 0 Note 072(C4) 80
4079 0 Note 072(C4) 0
4127 0 Note 072(C4) 80
4175 0 Note 072(C4) 0
4223 0 Note 072(C4) 80
4271 0 Note 072(C4) 0
4319 0 Note 072(C4) 80
4367 0 Note 072(C4) 0
4415 0 Note 072(C4) 80
4463 0 Note 072(C4) 0
4511 0 Note 072(C4) 80
4559 0 Note 072(C4) 0
4607 0 Note 072(C4) 80
4655 0 Note 072(C4) 0
4703 0 Note 072(C4) 80
4751 0 Note 072(C4) 0
4799 0 Note 072(C4) 80
4847 0 Note 072(C4) 0
4895 0 Note 072(C4) 80
4943 0 Note 072(C4) 0
4991 0 Note 072(C4) 80
5039 0 Note 072(C4) 0
5087 0 Note 072(C4) 80
5135 0 Note 072(C4) 0
5183 0 Note 072(C4) 80
5231 0 Note 072(C4) 0
5279 0 Note 072(C4) 80
5327 0 Note 072(C4) 0
5375 0 Note 072(C4) 80
5423 0 Note 072(C4) 0
5471 0 Note 072(C4) 80
5519 0 Note 072(C4) 0
5567 0 Note 072(C4) 80
5615 0 Note 072(C4) 0
5663 0 Note 072(C4) 80
5711 0 Note 072(C4) 0
5759 0 Note 072(C4) 80
5807 0 Note 072(C4) 0
5855 0 Note 072(C4) 80
5903 0 Note 072(C4) 0
5951 0 Note 072(C4) 80
5999 0 Note 072(C4) 0
6047 0 Note 072(C4) 80
6095 0 Note 072(C4) 0
6143 0 Note 072(C4) 80
6191 0 Note 072(C4) 0
6239 0 Note 072(C4) 80
6287 0 Note 072(C4) 0
6335 0 Note 072(C4) 80
6383 0 Note 072(C4) 0
6431 0 Note 072(C4) 80
6479 0 Note 072(C4) 0
6527 0 Note 072(C4) 80
6575 0 Note 072(C4) 0
6623 0 Note 072(C4) 80
6671 0 Note 072(C4) 0
6719 0 Note 072(C4) 80
6767 0 Note 072(C4) 0
6815 0 Note 072(C4) 80
6863 0 Note 072(C4) 0
6911 0 Note 072(C4) 80
6959 0 Note 072(C4) 0
7007 0 Note 072(C4) 80
7055 0 Note 072(C4) 0
7103 0 Note 072(C4) 80
7151 0 Note 072(C4) 0
7199 0 Note 072(C4) 80
7247 0 Note 072(C4) 0
7295 0 Note 072(C4) 80
7343 0 Note 072(C4) 0
7391 0 Note 072(C4) 80
7439 0 Note 072(C4) 0
7487 0 Note 072(C4) 80
7535 0 Note 072(C4) 0
7583 0 Note 072(C4) 80
7631 0 Note 072(C4) 0
7679 0 Note 072(C4) 80
7727 0 Note 072(C4) 0
7775 0 Note 072(C4) 80
7823 0 Note 072(C4) 0
7871 0 Note 072(C4) 80
7919 0 Note 072(C4) 0
7967 0 Note 072(C4) 80
8015 0 Note 072(C4) 0
8063 0 Note 072(C4) 80
8111 0 Note 072(C4) 0
8159 0 Note 072(C4) 80
8207 0 Note 072(C4) 0
8255 0 Note 072(C4) 80
8303 0 Note 072(C4) 0
8351 0 Note 072(C4) 80
8399 0 Note 072(C4) 0
8447 0 Note 072(C4) 80
8495 0 Note 072(C4) 0
8543 0 Note 072(C4) 80
8591 0 Note 072(C4) 0
8639 0 Note 072(C4) 80
8687 0 Note 072(C4) 0
8735 0 Note 072(C4) 80
8783 0 Note 072(C4) 0
8831 0 Note 072(C4) 80
8879 0 Note 072(C4) 0
8927 0 Note 072(C4) 80
8975 0 Note 072(C4) 0
9023 0 Note 072(C4) 80
9071 0 Note 072(C4) 0
9119 0 Note 072(C4) 80
9167 0 Note 072(C4) 0
9215 0 Note 072(C4) 80
9263 0 Note 072(C4) 0
9311 0 Note 072(C4) 80
9359 0 Note 072(C4) 0
9407 0 Note 072(C4) 80
9455 0 Note 072(C4) 0
9503 0 Note 072(C4) 80
9551 0 Note 072(C4) 0
9599 0 Note 072(C4) 80
9647 0 Note 072(C4) 0
9695 0 Note 072(C4) 80
9743 0 Note 072(C4) 0
9791 0 Note 072(C4) 80
9839 0 Note 072(C4) 0
9887 0 Note 072(C4) 80
9935 0 Note 072(C4) 0
9983 0 Note 072(C4) 80
10031 0 Note 072(C4) 0
10079 0 Note 072(C4) 80
10127 0 Note 072(C4) 0
10175 0 Note 072(C4) 80
10223 0 Note 072(C4) 0
10271 0 Note 072(C4) 80
10319 0 Note 072(C4) 0
10367 0 Note 072(C4) 80
10415 0 Note 072(C4) 0
10463 0 Note 072(C4) 80
10511 0 Note 072(C4) 0
10559 0 Note 072(C4) 80
10607 0 Note 072(C4) 0
10655 0 Note 072(C4) 80
10703 0 Note 072(C4) 0
10751 0 Note 072(C4) 80
10799 0 Note 072(C4) 0
10847 0 Note 072(C4) 80
10895 0 Note 072(C4) 0
10943 0 Note 072(C4) 80
10991 0 Note 072(C4) 0
11039 0 Note 072(C4) 80
11087 0 Note 072(C4) 0
11135 0 Note 072(C4) 80
11183 0 Note 072(C4) 0
11231 0 Note 072(C4) 80
11279 0 Note 072(C4) 0
11327 0 Note 072(C4) 80
11375 0 Note 072(C4) 0
11423 0 Note 072(C4) 80
11471 0 Note 072(C4) 0
11519 0 Note 072(C4) 80
11567 0 Note 072(C4) 0
11615 0 Note 072(C4) 80
11663 0 Note 072(C4) 0
11711 0 Note 072(C4) 80
11759 0 Note 072(C4) 0
11807 0 Note 072(C4) 80
11855 0 Note 072(C4) 0
11903 0 Note 072(C4) 80
11951 0 Note 072(C4) 0
11999 0 Note 072(C4) 80
12047 0 Note 072(C4) 0
12095 0 Note 072(C4) 80
12143 0 Note 072(C4) 0
12191 0 Note 072(C4) 80
12239 0 Note 072(C4) 0
12287 0 Note 072(C4) 80
12335 0 Note 072(C4) 0
12383 0 Note 072(C4) 80
12431 0 Note 072(C4) 0
12479 0 Note 072(C4) 80
12527 0 Note 072(C4) 0
12575 0 Note 072(C4) 80
12623 0 Note 072(C4) 0
12671 0 Note 072(C4) 80
12719 0 Note 072(C4) 0
12767 0 Note 072(C4) 80
12815 0 Note 072(C4) 0
12863 0 Note 072(C4) 80
12911 0 Note 072(C4) 0
12959 0 Note 072(C4) 80
13007 0 Note 072(C4) 0
13055 0 Note 072(C4) 80
13103 0 Note 072(C4) 0
13151 0 Note 072(C4) 80
13199 0 Note 072(C4) 0
13247 0 Note 072(C4) 80
13295 0 Note 072(C4) 0
13343 0 Note 072(C4) 80
13391 0 Note 072(C4) 0
13439 0 Note 072(C4) 80
13487 0 Note 072(C4) 0
13535 0 Note 072(C4) 80
13583 0 Note 072(C4) 0
13631 0 Note 072(C4) 80
13679 0 Note 072(C4) 0
13727 0 Note 072(C4) 80
13775 0 Note 072(C4) 0
13823 0 Note 072(C4) 80
13871 0 Note 072(C4) 0
13919 0 Note 072(C4) 80
13967 0 Note 072(C4) 0
14015 0 Note 072(C4) 80
14063 0 Note 072(C4) 0
14111 0 Note 072(C4) 80
14159 0 Note 072(C4) 0
14207 0 Note 072(C4) 80
14255 0 Note 072(C4) 0
14303 0 Note 072(C4) 80
14351 0 Note 072(C4) 0
14399 0 Note 072(C4) 80
14447 0 Note 072(C4) 0
14495 0 Note 072(C4) 80
14543 0 Note 072(C4) 0
14591 0 Note 072(C4) 80
14639 0 Note 072(C4) 0
14687 0 Note 072(C4) 80
14735 0 Note 072(C4) 0
14783 0 Note 072(C4) 80
14831 0 Note 072(C4) 0
14879 0 Note 072(C4) 80
14927 0 Note 072(C4) 0
14975 0 Note 072(C4) 80
15023 0 Note 072(C4) 0
15071 0 Note 072(C4) 80
15119 0 Note 072(C4) 0
15167 0 Note 072(C4) 80
15215 0 Note 072(C4) 0
15263 0 Note 072(C4) 80
15311 0 Note 072(C4) 0
15359 0 Note 072(C4) 80
15407 0 Note 072(C4) 0
15455 0 Note 072(C4) 80
15503 0 Note 072(C4) 0
15551 0 Note 072(C4) 80
15599 0 Note 072(C4) 0
15647 0 Note 072(C4) 80
15695 0 Note 072(C4) 0
15743 0 Note 072(C4) 80
15791 0 Note 072(C4) 0
15839 0 Note 072(C4) 80
15887 0 Note 072(C4) 0
15935 0 Note 072(C4) 80
15983 0 Note 072(C4) 0
16031 0 Note 072(C4) 80
16079 0 Note 072(C4) 0
16127 0 Note 072(C4) 80
16175 0 Note 072(C4) 0
16223 0 Note 072(C4) 80
16271 0 Note 072(C4) 0
16319 0 Note 072(C4) 80
16367 0 Note 072(C4) 0
16415 0 Note 072(C4) 80
16463 0 Note 072(C4) 0
16511 0 Note 072(C4) 80
16559 0 Note 072(C4) 0
16559 0 RPN MSB 0
16559 0 RPN LSB 0
16559 0 Data Entry MSB: Pitch Bend Range 2
16559 A RPN MSB 0
16559 A RPN LSB 0
16559 A Data Entry MSB: Pitch Bend Range 2
18812 0 Note 072(C4) 80
18813 0 Note 076(E4) 80
18882 0 Note 072(C4) 0
18883 0 Note 076(E4) 0
19461 polytouch channel=0 note=0 value=65 time=578
19461 0 RPN MSB 0
19461 0 RPN LSB 0
19461 0 Data Entry MSB: Pitch Bend Range 2
19461 A RPN MSB 0
19461 A RPN LSB 0
19461 A Data Entry MSB: Pitch Bend Range 2
20053 0 Note 072(C4) 80
20053 0 Note 076(E4) 80
20119 0 Note 076(E4) 0
20122 0 Note 072(C4) 0
20709 polytouch channel=0 note=0 value=64 time=587
20709 0 RPN MSB 0
20709 0 RPN LSB 0
20709 0 Data Entry MSB: Pitch Bend Range 2
20709 A RPN MSB 0
20709 A RPN LSB 0
20709 A Data Entry MSB: Pitch Bend Range 2
21223 0 Note 072(C4) 80
21223 0 Note 076(E4) 80
21287 0 Note 072(C4) 0
21288 0 Note 076(E4) 0
22823 0 Bank MSB 0
22823 0 Bank LSB 112
22823 0 Program Change [0,112,47] 121 Timpani (PERCUSSION)
22823 polytouch channel=0 note=0 value=63 time=0
22823 A Bank MSB 0
22823 A Bank LSB 112
22823 A Program Change [0,112,55] 065 Orchestra Hit (STRINGS)
22855 0 Voice Volume 102
22855 0 Voice Reverb Level 40
22855 A Voice Volume 70
22855 A Voice Reverb Level 54
23898 0 Bank MSB 127
23898 0 Bank LSB 0
23898 0 Program Change [127,0,0] 122 Standard Kit 1 (DRUM KITS)
23898 A Bank MSB 0
23898 A Bank LSB 112
23898 A Program Change [0,112,48] 054 String Ensemble (STRINGS)
23939 0 Voice Volume 104
23939 0 Voice Reverb Level 28
23939 A Voice Volume 100
23939 A Voice Reverb Level 40
24986 0 Note 072(C4) 80
25141 0 Note 072(C4) 0
25325 0 Note 072(C4) 80
25424 0 Note 072(C4) 0
25632 0 Note 084(C5) 80
25772 0 Note 084(C5) 0
25940 0 Note 072(C4) 80
26071 0 Note 072(C4) 0
26262 0 Note 060(C3) 80
26434 0 Note 060(C3) 0
26596 0 Note 072(C4) 80
26725 0 Note 072(C4) 0
26915 0 Note 084(C5) 80
27063 0 Note 084(C5) 0
27231 0 Note 072(C4) 80
27356 0 Note 072(C4) 0
27563 0 Note 060(C3) 80
27712 0 Note 060(C3) 0
28236 0 Note 072(C4) 80
28491 0 Note 072(C4) 0
28886 0 Note 084(C5) 80
29419 0 Note 084(C5) 0
33043 0 All Sound OFF
33043 A All Sound OFF
33043 <meta message end_of_track time=0>

In [11]:
!python extractor.py documents/data/user_song_tests/10track.syx -S 1 -s 1 -n documents/data/user_song_tests/10track_{}.mid


               Recorded   Duration       Size
 User Song 1       True        275       9133
     Track A       True        223       5665
     Track 1       True        275       1507
     Track 2       True         22       1947
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5      False          0          0


In [12]:
!python extractor.py documents/data/user_song_tests/8track.syx -S 1


               Recorded   Duration       Size
 User Song 1       True        344       1620
     Track A      False          0         99
     Track 1       True        344       1507
     Track 2      False          0          0
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5      False          0          0

What's going on with the durations?

344 measures in 1/4 should be ~68 measures in 5/4 right? Why is Track 1 longer than Track A?


In [13]:
tr8 = mido.MidiFile('documents/data/user_song_tests/8track_1.mid')

In [17]:
trackprint(tr8.tracks[0])


0 <meta message time_signature numerator=1 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=214272 time=0>
0 GM System ON
0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 00
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 <meta message end_of_track time=0>

In [15]:
tr9 = mido.MidiFile('documents/data/user_song_tests/9track_1.mid')

In [18]:
trackprint(tr9.tracks[0])


0 <meta message time_signature numerator=5 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=624992 time=0>
0 GM System ON
0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 36
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 05
481 Sequencer Specific 43 76 1A 01 06
631 Sequencer Specific 43 76 1A 01 02
728 Sequencer Specific 43 76 1A 01 06
828 Sequencer Specific 43 76 1A 01 02
960 Sequencer Specific 43 76 1A 01 06
1047 Sequencer Specific 43 76 1A 01 02
1440 Sequencer Specific 43 76 1A 01 05
1926 Sequencer Specific 43 76 1A 01 06
2400 Sequencer Specific 43 76 1A 01 00
2491 Sequencer Specific 43 76 1A 03 31 00 31 00
4314 Sequencer Specific 43 76 1A 03 31 04 31 04
4792 Sequencer Specific 43 76 1A 03 31 01 31 01
5754 Sequencer Specific 43 76 1A 03 31 04 31 04
5757 Sequencer Specific 43 76 1A 03 31 06 31 06
6715 Sequencer Specific 43 76 1A 03 31 02 31 02
7672 Sequencer Specific 43 76 1A 03 31 05 31 05
8633 Sequencer Specific 43 76 1A 03 31 03 31 03
9586 Sequencer Specific 43 76 1A 03 44 27 31 1E
10554 Sequencer Specific 43 76 1A 03 44 29 31 1E
11995 Sequencer Specific 43 76 1A 03 31 24 31 24
12955 Sequencer Specific 43 76 1A 03 31 23 31 23
13914 Sequencer Specific 43 76 1A 03 31 20 31 20
15030 Sequencer Specific 43 76 1A 03 31 07 31 07
15837 Sequencer Specific 43 76 1A 03 31 1C 31 1C
16792 Sequencer Specific 43 76 1A 03 31 08 31 08
17450 Sequencer Specific 43 76 1A 03 31 0C 31 0C
18237 Sequencer Specific 43 76 1A 03 31 09 31 09
19199 Sequencer Specific 43 76 1A 03 31 0A 31 0A
20160 Sequencer Specific 43 76 1A 03 31 0D 31 0D
21595 Sequencer Specific 43 76 1A 03 23 21 23 21
21598 Sequencer Specific 43 76 1A 03 31 0E 31 0E
22840 Sequencer Specific 43 76 1A 03 31 0F 31 0F
23697 Sequencer Specific 43 76 1A 03 23 00 23 00
23699 Sequencer Specific 43 76 1A 03 31 10 31 10
24951 Sequencer Specific 43 76 1A 03 31 0B 31 0B
25916 Sequencer Specific 43 76 1A 03 31 25 31 25
27833 Sequencer Specific 43 76 1A 03 31 11 31 11
28313 Sequencer Specific 43 76 1A 03 31 12 31 12
28796 Sequencer Specific 43 76 1A 03 31 13 31 13
29753 Sequencer Specific 43 76 1A 03 31 19 31 19
30716 Sequencer Specific 43 76 1A 03 31 1A 31 1A
31685 Sequencer Specific 43 76 1A 03 31 16 31 16
33598 Sequencer Specific 43 76 1A 03 31 17 31 17
34557 Sequencer Specific 43 76 1A 03 31 18 31 18
35679 Sequencer Specific 43 76 1A 03 31 19 31 19
36470 Sequencer Specific 43 76 1A 03 31 1B 31 1B
37807 Sequencer Specific 43 76 1A 03 31 13 31 13
37810 Sequencer Specific 43 76 1A 03 31 15 31 15
38870 Sequencer Specific 43 76 1A 03 31 1D 31 1D
39352 Sequencer Specific 43 76 1A 03 31 14 31 14
40312 Sequencer Specific 43 76 1A 03 31 21 31 21
41275 Sequencer Specific 43 76 1A 03 31 1F 31 1F
42232 Sequencer Specific 43 76 1A 03 31 1E 31 1E
44329 Sequencer Specific 43 76 1A 03 31 26 31 26
45117 Sequencer Specific 43 76 1A 03 22 00 22 00
45120 Sequencer Specific 43 76 1A 03 31 27 31 27
46078 Sequencer Specific 43 76 1A 03 31 28 31 28
46664 Sequencer Specific 43 76 1A 01 02
47040 Sequencer Specific 43 76 1A 01 05
47044 Sequencer Specific 43 76 1A 03 31 00 31 00
47504 Sequencer Specific 43 76 1A 03 22 00 22 00
47993 Sequencer Specific 43 76 1A 03 32 00 32 00
48475 Sequencer Specific 43 76 1A 03 23 00 23 00
48954 Sequencer Specific 43 76 1A 03 33 00 33 00
49440 Sequencer Specific 43 76 1A 03 34 00 34 00
49539 Sequencer Specific 43 76 1A 03 44 00 44 00
49635 Sequencer Specific 43 76 1A 03 35 00 35 00
49730 Sequencer Specific 43 76 1A 03 45 00 45 00
49920 Sequencer Specific 43 76 1A 03 36 00 36 00
50024 Sequencer Specific 43 76 1A 03 27 00 27 00
50202 Sequencer Specific 43 76 1A 03 37 00 37 00
50393 Sequencer Specific 43 76 1A 03 31 00 31 00
50942 Sequencer Specific 43 76 1A 03 31 1E 31 1E
51166 Sequencer Specific 43 76 1A 03 37 1E 37 1E
51360 Sequencer Specific 43 76 1A 03 27 1E 27 1E
51642 Sequencer Specific 43 76 1A 03 36 1E 36 1E
51828 Sequencer Specific 43 76 1A 03 45 1E 45 1E
52116 Sequencer Specific 43 76 1A 03 35 00 35 00
52119 Sequencer Specific 43 76 1A 03 35 1E 35 1E
52313 Sequencer Specific 43 76 1A 03 44 00 44 00
52316 Sequencer Specific 43 76 1A 03 44 1E 44 1E
52594 Sequencer Specific 43 76 1A 03 34 1E 34 1E
52799 Sequencer Specific 43 76 1A 03 33 00 33 00
52803 Sequencer Specific 43 76 1A 03 33 1E 33 1E
53079 Sequencer Specific 43 76 1A 03 23 00 23 00
53081 Sequencer Specific 43 76 1A 03 23 1E 23 1E
53272 Sequencer Specific 43 76 1A 03 32 1E 32 1E
53557 Sequencer Specific 43 76 1A 03 22 1E 22 1E
53757 Sequencer Specific 43 76 1A 03 31 1E 31 1E
54242 Sequencer Specific 43 76 1A 03 31 00 35 1E
54709 Sequencer Specific 43 76 1A 03 22 00 45 1E
55000 Sequencer Specific 43 76 1A 03 32 00 36 1E
55194 Sequencer Specific 43 76 1A 03 23 00 27 1E
55483 Sequencer Specific 43 76 1A 03 33 00 37 1E
55674 Sequencer Specific 43 76 1A 03 34 00 34 00
55676 Sequencer Specific 43 76 1A 03 34 00 31 1E
55961 Sequencer Specific 43 76 1A 03 44 00 22 1E
56154 Sequencer Specific 43 76 1A 03 35 00 35 00
56157 Sequencer Specific 43 76 1A 03 35 00 32 1E
56432 Sequencer Specific 43 76 1A 03 45 00 23 1E
56626 Sequencer Specific 43 76 1A 03 36 00 36 00
56629 Sequencer Specific 43 76 1A 03 36 00 33 1E
56916 Sequencer Specific 43 76 1A 03 27 00 27 00
56919 Sequencer Specific 43 76 1A 03 27 00 34 1E
57115 Sequencer Specific 43 76 1A 03 37 00 44 1E
57401 Sequencer Specific 43 76 1A 03 31 00 35 1E
57592 Sequencer Specific 43 76 1A 03 33 08 33 08
57594 Sequencer Specific 43 76 1A 03 31 00 31 00
58076 Sequencer Specific 43 76 1A 03 31 13 31 13
58356 Sequencer Specific 43 76 1A 03 31 08 31 08
58553 Sequencer Specific 43 76 1A 03 36 08 36 08
58838 Sequencer Specific 43 76 1A 03 45 00 45 00
59036 Sequencer Specific 43 76 1A 03 31 00 35 1E
59308 Sequencer Specific 43 76 1A 03 44 24 44 24
59514 Sequencer Specific 43 76 1A 03 34 1F 34 1F
59805 Sequencer Specific 43 76 1A 03 31 00 33 1E
59989 Sequencer Specific 43 76 1A 03 32 13 32 13
60468 Sequencer Specific 43 76 1A 03 31 04 31 04
60856 Sequencer Specific 43 76 1A 03 32 00 32 00
60859 Sequencer Specific 43 76 1A 03 31 04 31 04
60946 Sequencer Specific 43 76 1A 03 32 00 32 00
61055 Sequencer Specific 43 76 1A 03 31 04 31 04
61146 Sequencer Specific 43 76 1A 03 22 25 22 25
61432 Sequencer Specific 43 76 1A 03 31 00 31 00
61715 Sequencer Specific 43 76 1A 03 31 04 31 04
61911 Sequencer Specific 43 76 1A 03 33 00 33 00
61914 Sequencer Specific 43 76 1A 03 34 21 33 1E
62193 Sequencer Specific 43 76 1A 03 34 08 34 08
62390 Sequencer Specific 43 76 1A 03 33 11 33 11
62678 Sequencer Specific 43 76 1A 03 31 1F 31 1F
62681 Sequencer Specific 43 76 1A 03 32 14 32 14
63357 Sequencer Specific 43 76 1A 03 31 08 31 08
63651 Sequencer Specific 43 76 1A 03 31 00 31 00
63836 Sequencer Specific 43 76 1A 03 23 00 23 00
63839 Sequencer Specific 43 76 1A 03 33 1C 33 1C
64115 Sequencer Specific 43 76 1A 03 31 00 33 1E
64385 Sequencer Specific 43 76 1A 03 31 24 31 24
64599 Sequencer Specific 43 76 1A 03 35 00 35 00
64601 Sequencer Specific 43 76 1A 03 31 00 35 1E
64798 Sequencer Specific 43 76 1A 03 31 00 31 00
65757 Sequencer Specific 43 76 1A 03 31 00 23 1E
66040 Sequencer Specific 43 76 1A 03 31 00 34 1E
66318 Sequencer Specific 43 76 1A 03 31 00 31 00
66320 Sequencer Specific 43 76 1A 03 31 00 44 1E
66810 Sequencer Specific 43 76 1A 03 31 00 31 00
66897 Sequencer Specific 43 76 1A 03 31 00 35 1E
67271 Sequencer Specific 43 76 1A 03 31 00 31 00
67274 Sequencer Specific 43 76 1A 03 31 00 33 1E
67475 Sequencer Specific 43 76 1A 03 31 1E 31 1E
67478 Sequencer Specific 43 76 1A 03 31 00 31 1E
67653 Sequencer Specific 43 76 1A 03 31 1E 31 1E
67954 Sequencer Specific 43 76 1A 03 22 25 22 25
67956 Sequencer Specific 43 76 1A 03 22 25 22 1E
68053 Sequencer Specific 43 76 1A 03 22 02 22 02
68057 Sequencer Specific 43 76 1A 03 22 25 22 1E
68152 Sequencer Specific 43 76 1A 03 22 02 22 02
68158 Sequencer Specific 43 76 1A 03 22 25 22 1E
68229 Sequencer Specific 43 76 1A 03 31 00 31 00
68232 Sequencer Specific 43 76 1A 03 22 25 22 25
68465 Sequencer Specific 43 76 1A 03 22 00 22 00
68515 Sequencer Specific 43 76 1A 03 22 08 22 08
68517 Sequencer Specific 43 76 1A 03 31 02 22 1E
68597 Sequencer Specific 43 76 1A 03 22 25 22 25
68702 Sequencer Specific 43 76 1A 03 31 19 31 19
68923 Sequencer Specific 43 76 1A 03 22 00 22 00
68926 Sequencer Specific 43 76 1A 03 31 29 22 1E
69676 Sequencer Specific 43 76 1A 03 22 0A 22 0A
69885 Sequencer Specific 43 76 1A 03 27 08 22 1E
69888 Sequencer Specific 43 76 1A 03 31 29 22 1E
70094 Sequencer Specific 43 76 1A 03 22 02 22 02
70107 Sequencer Specific 43 76 1A 03 31 29 22 1E
70160 Sequencer Specific 43 76 1A 03 22 00 22 00
70163 Sequencer Specific 43 76 1A 03 31 29 22 1E
70363 Sequencer Specific 43 76 1A 03 31 29 32 1E
70555 Sequencer Specific 43 76 1A 03 31 29 23 1E
70838 Sequencer Specific 43 76 1A 03 22 0F 22 0F
71063 Sequencer Specific 43 76 1A 03 31 13 31 13
71066 Sequencer Specific 43 76 1A 03 31 19 31 19
71188 Sequencer Specific 43 76 1A 03 31 29 23 1E
71316 Sequencer Specific 43 76 1A 03 33 24 33 24
71319 Sequencer Specific 43 76 1A 03 31 19 31 19
71406 Sequencer Specific 43 76 1A 03 27 0C 27 0C
71491 Sequencer Specific 43 76 1A 03 22 0A 22 0A
71494 Sequencer Specific 43 76 1A 03 31 29 44 1E
71603 Sequencer Specific 43 76 1A 03 31 29 35 1E
71699 Sequencer Specific 43 76 1A 03 27 0D 27 0D
71802 Sequencer Specific 43 76 1A 03 27 10 27 10
71900 Sequencer Specific 43 76 1A 03 31 29 27 1E
71999 Sequencer Specific 43 76 1A 03 31 29 37 1E
72097 Sequencer Specific 43 76 1A 03 22 0A 22 0A
72100 Sequencer Specific 43 76 1A 03 31 29 31 29
72288 Sequencer Specific 43 76 1A 03 31 1F 31 1F
72529 Sequencer Specific 43 76 1A 03 37 28 37 28
72640 Sequencer Specific 43 76 1A 03 31 1F 31 1F
72762 Sequencer Specific 43 76 1A 03 31 00 35 1E
72765 Sequencer Specific 43 76 1A 03 32 14 32 14
72956 Sequencer Specific 43 76 1A 03 31 00 35 1E
72958 Sequencer Specific 43 76 1A 03 31 00 31 00
73441 Sequencer Specific 43 76 1A 03 32 0A 32 0A
73723 Sequencer Specific 43 76 1A 03 31 00 31 00
73915 Sequencer Specific 43 76 1A 03 34 1F 34 1F
73918 Sequencer Specific 43 76 1A 03 34 00 34 00
74203 Sequencer Specific 43 76 1A 03 31 00 31 00
74206 Sequencer Specific 43 76 1A 03 31 00 31 1E
74395 Sequencer Specific 43 76 1A 03 32 13 32 1E
74669 Sequencer Specific 43 76 1A 03 35 13 35 13
74876 Sequencer Specific 43 76 1A 03 31 1E 31 1E
74878 Sequencer Specific 43 76 1A 03 31 00 31 1E
75024 Sequencer Specific 43 76 1A 01 06
75360 Sequencer Specific 43 76 1A 01 00
75648 Sequencer Specific 43 76 1A 03 33 08 33 08
75925 Sequencer Specific 43 76 1A 03 34 00 34 00
76109 Sequencer Specific 43 76 1A 03 34 1E 34 1E
76112 Sequencer Specific 43 76 1A 03 34 08 34 08
76497 Sequencer Specific 43 76 1A 03 31 08 31 08
76797 Sequencer Specific 43 76 1A 03 31 00 31 00
77090 Sequencer Specific 43 76 1A 03 31 1E 31 1E
77093 Sequencer Specific 43 76 1A 03 31 00 31 00
77292 Sequencer Specific 43 76 1A 03 31 00 31 1E
77356 Sequencer Specific 43 76 1A 03 31 00 31 00
77946 Sequencer Specific 43 76 1A 03 31 00 33 1E
78234 Sequencer Specific 43 76 1A 03 31 00 31 00
78237 Sequencer Specific 43 76 1A 03 31 00 33 1E
78522 Sequencer Specific 43 76 1A 03 31 00 31 00
78718 Sequencer Specific 43 76 1A 03 31 00 33 1E
79282 Sequencer Specific 43 76 1A 03 31 00 34 1E
79576 Sequencer Specific 43 76 1A 03 31 00 35 1E
79864 Sequencer Specific 43 76 1A 03 32 14 32 14
79866 Sequencer Specific 43 76 1A 03 31 04 32 1E
80157 Sequencer Specific 43 76 1A 03 32 13 32 13
80160 Sequencer Specific 43 76 1A 03 31 04 32 1E
80237 Sequencer Specific 43 76 1A 03 32 13 32 13
80438 Sequencer Specific 43 76 1A 03 31 04 31 04
80441 Sequencer Specific 43 76 1A 03 31 04 32 1E
80687 Sequencer Specific 43 76 1A 03 32 14 32 14
80804 Sequencer Specific 43 76 1A 03 31 04 32 1E
80921 Sequencer Specific 43 76 1A 03 31 28 22 1E
80924 Sequencer Specific 43 76 1A 03 22 25 22 1E
81295 Sequencer Specific 43 76 1A 03 22 00 22 00
81304 Sequencer Specific 43 76 1A 03 22 02 22 02
81307 Sequencer Specific 43 76 1A 03 31 26 22 1E
81363 Sequencer Specific 43 76 1A 03 22 00 22 00
81372 Sequencer Specific 43 76 1A 03 32 02 22 1E
81374 Sequencer Specific 43 76 1A 03 32 0F 32 0F
81418 Sequencer Specific 43 76 1A 03 22 00 22 00
81479 Sequencer Specific 43 76 1A 03 44 00 22 1E
81536 Sequencer Specific 43 76 1A 03 22 00 22 00
81539 Sequencer Specific 43 76 1A 03 22 24 22 24
81662 Sequencer Specific 43 76 1A 03 27 00 27 00
81664 Sequencer Specific 43 76 1A 03 27 13 27 13
81806 Sequencer Specific 43 76 1A 03 45 02 45 02
81808 Sequencer Specific 43 76 1A 03 45 23 45 23
81924 Sequencer Specific 43 76 1A 03 45 02 33 1E
82066 Sequencer Specific 43 76 1A 03 32 00 32 00
82068 Sequencer Specific 43 76 1A 03 35 04 35 04
82071 Sequencer Specific 43 76 1A 03 35 04 35 1E
82367 Sequencer Specific 43 76 1A 03 37 0B 37 1E
82552 Sequencer Specific 43 76 1A 03 37 00 31 1E
83093 Sequencer Specific 43 76 1A 03 31 00 31 00
83202 Sequencer Specific 43 76 1A 03 31 02 31 02
83517 Sequencer Specific 43 76 1A 03 31 02 37 1E
83797 Sequencer Specific 43 76 1A 03 31 02 31 1E
84062 Sequencer Specific 43 76 1A 03 31 02 31 02
84064 Sequencer Specific 43 76 1A 03 31 02 37 1E
84294 Sequencer Specific 43 76 1A 03 37 00 37 00
84296 Sequencer Specific 43 76 1A 03 31 02 37 1E
84946 Sequencer Specific 43 76 1A 03 31 00 31 00
85037 Sequencer Specific 43 76 1A 03 33 08 33 08
85040 Sequencer Specific 43 76 1A 03 31 02 31 02
85118 Sequencer Specific 43 76 1A 03 36 13 36 13
85121 Sequencer Specific 43 76 1A 03 36 14 36 14
85293 Sequencer Specific 43 76 1A 03 31 13 31 13
85395 Sequencer Specific 43 76 1A 03 32 13 32 13
85713 Sequencer Specific 43 76 1A 03 36 0E 36 0E
85901 Sequencer Specific 43 76 1A 03 22 13 22 13
86064 Sequencer Specific 43 76 1A 03 22 25 22 25
86392 Sequencer Specific 43 76 1A 03 32 00 32 00
86395 Sequencer Specific 43 76 1A 03 37 00 32 1E
86671 Sequencer Specific 43 76 1A 03 31 25 31 25
86873 Sequencer Specific 43 76 1A 03 34 00 34 00
86876 Sequencer Specific 43 76 1A 03 37 00 34 1E
87034 Sequencer Specific 43 76 1A 03 35 07 35 07
87037 Sequencer Specific 43 76 1A 03 35 1C 35 1C
87167 Sequencer Specific 43 76 1A 03 31 00 31 00
87170 Sequencer Specific 43 76 1A 03 31 25 31 25
87267 Sequencer Specific 43 76 1A 03 37 00 37 00
87354 Sequencer Specific 43 76 1A 03 27 00 27 00
87356 Sequencer Specific 43 76 1A 03 37 02 37 02
87446 Sequencer Specific 43 76 1A 03 36 1F 36 1F
87449 Sequencer Specific 43 76 1A 03 33 0E 33 0E
87560 Sequencer Specific 43 76 1A 03 45 00 45 00
87562 Sequencer Specific 43 76 1A 03 22 11 45 1E
87657 Sequencer Specific 43 76 1A 03 34 00 34 00
87660 Sequencer Specific 43 76 1A 03 23 26 34 1E
88620 Sequencer Specific 43 76 1A 03 33 00 33 00
88623 Sequencer Specific 43 76 1A 03 23 22 23 22
88625 Sequencer Specific 43 76 1A 03 33 0F 34 1E
88830 Sequencer Specific 43 76 1A 03 34 00 34 00
88833 Sequencer Specific 43 76 1A 03 23 26 34 1E
88961 Sequencer Specific 43 76 1A 03 34 00 34 00
88963 Sequencer Specific 43 76 1A 03 33 02 34 1E
89063 Sequencer Specific 43 76 1A 03 34 00 34 00
89066 Sequencer Specific 43 76 1A 03 23 27 34 1E
89261 Sequencer Specific 43 76 1A 03 34 00 34 00
89265 Sequencer Specific 43 76 1A 03 23 28 34 1E
89411 Sequencer Specific 43 76 1A 03 34 00 34 00
89416 Sequencer Specific 43 76 1A 03 33 02 34 1E
89562 Sequencer Specific 43 76 1A 03 31 00 35 1E
89564 Sequencer Specific 43 76 1A 03 35 14 35 14
89759 Sequencer Specific 43 76 1A 03 31 00 31 00
89761 Sequencer Specific 43 76 1A 03 44 27 31 1E
89906 Sequencer Specific 43 76 1A 03 44 00 44 00
89909 Sequencer Specific 43 76 1A 03 31 15 31 15
90030 Sequencer Specific 43 76 1A 03 32 00 32 00
90233 Sequencer Specific 43 76 1A 03 34 08 34 08
90520 Sequencer Specific 43 76 1A 03 45 08 37 1E
90522 Sequencer Specific 43 76 1A 03 37 12 37 1E
90690 Sequencer Specific 43 76 1A 03 27 08 27 08
90694 Sequencer Specific 43 76 1A 03 27 13 31 1E
91007 Sequencer Specific 43 76 1A 03 31 00 31 00
91009 Sequencer Specific 43 76 1A 03 45 00 31 1E
91012 Sequencer Specific 43 76 1A 03 31 1C 31 1C
91187 Sequencer Specific 43 76 1A 03 31 00 31 00
91189 Sequencer Specific 43 76 1A 03 31 02 31 02
91471 Sequencer Specific 43 76 1A 03 31 1E 31 1E
91473 Sequencer Specific 43 76 1A 03 31 00 31 1E
91570 Sequencer Specific 43 76 1A 03 31 1E 31 1E
91573 Sequencer Specific 43 76 1A 03 31 02 31 1E
91660 Sequencer Specific 43 76 1A 03 31 05 31 05
91760 Sequencer Specific 43 76 1A 03 36 0A 33 1E
91958 Sequencer Specific 43 76 1A 03 31 02 31 02
91961 Sequencer Specific 43 76 1A 03 31 0F 31 0F
92144 Sequencer Specific 43 76 1A 03 45 24 45 24
92147 Sequencer Specific 43 76 1A 03 45 23 33 1E
92322 Sequencer Specific 43 76 1A 03 22 00 37 1E
92324 Sequencer Specific 43 76 1A 03 37 22 34 1E
92531 Sequencer Specific 43 76 1A 03 27 08 27 08
92534 Sequencer Specific 43 76 1A 03 31 29 27 1E
92926 Sequencer Specific 43 76 1A 03 22 00 37 1E
92929 Sequencer Specific 43 76 1A 03 37 22 37 22
93128 Sequencer Specific 43 76 1A 03 22 00 37 1E
93131 Sequencer Specific 43 76 1A 03 37 22 37 22
93314 Sequencer Specific 43 76 1A 03 22 00 37 1E
93317 Sequencer Specific 43 76 1A 03 37 22 37 22
93495 Sequencer Specific 43 76 1A 03 37 00 37 00
93497 Sequencer Specific 43 76 1A 03 31 0F 45 1E
93591 Sequencer Specific 43 76 1A 03 33 28 33 28
93593 Sequencer Specific 43 76 1A 03 22 18 33 1E
93686 Sequencer Specific 43 76 1A 03 22 02 22 02
93689 Sequencer Specific 43 76 1A 03 22 02 34 1E
93776 Sequencer Specific 43 76 1A 03 23 13 23 13
93779 Sequencer Specific 43 76 1A 03 23 13 35 1E
93882 Sequencer Specific 43 76 1A 03 36 11 36 11
93885 Sequencer Specific 43 76 1A 03 34 1A 34 1A
93887 Sequencer Specific 43 76 1A 03 34 1A 36 1E
93978 Sequencer Specific 43 76 1A 03 22 00 22 00
93980 Sequencer Specific 43 76 1A 03 22 10 36 1E
94081 Sequencer Specific 43 76 1A 03 22 03 22 03
94083 Sequencer Specific 43 76 1A 03 36 17 34 1E
94176 Sequencer Specific 43 76 1A 03 36 00 36 00
94179 Sequencer Specific 43 76 1A 03 22 10 36 1E
94269 Sequencer Specific 43 76 1A 03 32 22 37 1E
95040 Sequencer Specific 43 76 1A 01 02
95330 Sequencer Specific 43 76 1A 03 31 00 31 1E
95333 Sequencer Specific 43 76 1A 03 31 04 31 1E
95500 Sequencer Specific 43 76 1A 03 31 2A 31 2A
95503 Sequencer Specific 43 76 1A 03 33 26 31 1E
95520 Sequencer Specific 43 76 1A 01 05
95797 Sequencer Specific 43 76 1A 03 45 00 31 1E
95800 Sequencer Specific 43 76 1A 03 45 22 31 1E
96482 Sequencer Specific 43 76 1A 03 44 26 31 1E
96485 Sequencer Specific 43 76 1A 03 35 22 31 1E
96772 Sequencer Specific 43 76 1A 03 35 02 35 02
96775 Sequencer Specific 43 76 1A 03 33 22 35 1E
96965 Sequencer Specific 43 76 1A 03 45 24 45 24
96967 Sequencer Specific 43 76 1A 03 36 0D 45 1E
96970 Sequencer Specific 43 76 1A 03 36 10 45 1E
97245 Sequencer Specific 43 76 1A 03 45 00 45 00
97247 Sequencer Specific 43 76 1A 03 45 13 32 1E
97432 Sequencer Specific 43 76 1A 03 23 24 23 24
97435 Sequencer Specific 43 76 1A 03 37 13 44 1E
97723 Sequencer Specific 43 76 1A 03 34 1E 34 1E
97725 Sequencer Specific 43 76 1A 03 35 22 34 1E
98199 Sequencer Specific 43 76 1A 03 34 14 34 1E
98202 Sequencer Specific 43 76 1A 03 45 22 34 1E
98397 Sequencer Specific 43 76 1A 03 45 13 45 13
98400 Sequencer Specific 43 76 1A 03 33 10 45 1E
98403 Sequencer Specific 43 76 1A 03 34 22 45 1E
98693 Sequencer Specific 43 76 1A 03 32 00 32 00
98695 Sequencer Specific 43 76 1A 03 23 0F 32 1E
98874 Sequencer Specific 43 76 1A 03 27 17 27 17
98877 Sequencer Specific 43 76 1A 03 31 04 33 1E
99038 Sequencer Specific 43 76 1A 03 32 19 32 19
99040 Sequencer Specific 43 76 1A 03 23 26 31 1E
99349 Sequencer Specific 43 76 1A 03 31 02 37 1E
99352 Sequencer Specific 43 76 1A 03 31 02 31 02
99511 Sequencer Specific 43 76 1A 03 31 00 31 00
99514 Sequencer Specific 43 76 1A 03 31 00 31 1E
99636 Sequencer Specific 43 76 1A 03 31 20 31 20
99639 Sequencer Specific 43 76 1A 03 35 14 32 1E
99821 Sequencer Specific 43 76 1A 03 36 0A 36 0A
99824 Sequencer Specific 43 76 1A 03 36 0A 33 1E
100124 Sequencer Specific 43 76 1A 03 33 00 33 00
100211 Sequencer Specific 43 76 1A 03 32 13 32 13
100214 Sequencer Specific 43 76 1A 03 32 17 32 17
100311 Sequencer Specific 43 76 1A 03 34 02 34 02
100314 Sequencer Specific 43 76 1A 03 33 26 34 1E
100598 Sequencer Specific 43 76 1A 03 23 00 23 00
100601 Sequencer Specific 43 76 1A 03 31 26 23 1E
100799 Sequencer Specific 43 76 1A 03 34 00 34 00
100801 Sequencer Specific 43 76 1A 03 34 13 34 13
100805 Sequencer Specific 43 76 1A 03 22 05 22 05
101083 Sequencer Specific 43 76 1A 03 31 28 31 28
101086 Sequencer Specific 43 76 1A 03 23 19 31 1E
101268 Sequencer Specific 43 76 1A 03 31 28 44 1E
101271 Sequencer Specific 43 76 1A 03 22 25 44 1E
101560 Sequencer Specific 43 76 1A 03 22 20 34 1E
101563 Sequencer Specific 43 76 1A 03 32 23 34 1E
101745 Sequencer Specific 43 76 1A 03 37 13 37 13
101748 Sequencer Specific 43 76 1A 03 31 25 36 1E
102041 Sequencer Specific 43 76 1A 03 35 1C 23 1E
102043 Sequencer Specific 43 76 1A 03 35 1C 37 1E
102237 Sequencer Specific 43 76 1A 03 44 22 36 1E
102720 Sequencer Specific 43 76 1A 01 09
103200 Sequencer Specific 43 76 1A 01 06
103680 Sequencer Specific 43 76 1A 01 00
103765 Sequencer Specific 43 76 1A 03 31 1F 31 1F
104160 Sequencer Specific 43 76 1A 03 32 14 32 14
104314 Sequencer Specific 43 76 1A 03 31 1F 31 1F
104316 Sequencer Specific 43 76 1A 03 32 14 32 14
104627 Sequencer Specific 43 76 1A 03 32 13 32 13
104630 Sequencer Specific 43 76 1A 03 32 14 32 14
104711 Sequencer Specific 43 76 1A 03 35 00 35 00
104714 Sequencer Specific 43 76 1A 03 32 14 32 14
104913 Sequencer Specific 43 76 1A 03 33 00 33 00
104916 Sequencer Specific 43 76 1A 03 33 08 33 08
104918 Sequencer Specific 43 76 1A 03 35 13 33 1E
105005 Sequencer Specific 43 76 1A 03 35 00 35 00
105009 Sequencer Specific 43 76 1A 03 31 21 31 21
105011 Sequencer Specific 43 76 1A 03 31 04 31 04
105093 Sequencer Specific 43 76 1A 03 31 08 31 08
105096 Sequencer Specific 43 76 1A 03 45 17 45 17
105201 Sequencer Specific 43 76 1A 03 31 00 33 1E
105204 Sequencer Specific 43 76 1A 03 44 17 33 1E
105301 Sequencer Specific 43 76 1A 03 31 00 35 1E
105305 Sequencer Specific 43 76 1A 03 34 28 35 1E
105600 Sequencer Specific 43 76 1A 01 04
106348 Sequencer Specific 43 76 1A 03 27 0A 32 1E
106351 Sequencer Specific 43 76 1A 03 31 22 32 1E
107520 <meta message end_of_track time=1169>

In [20]:
trackprint(tr8.tracks[1])


0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)
0 <meta message text text=' YAMAHA ' time=0>
0 0 Bank MSB 0
0 0 Bank LSB 113
0 0 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
0 A Bank MSB 0
0 A Bank LSB 112
0 A Program Change [0,112,48] 054 String Ensemble (STRINGS)
0 0 RPN MSB 0
0 0 RPN LSB 0
0 0 Data Entry MSB: Pitch Bend Range 2
0 0 RPN LSB 127
0 0 RPN MSB 127
0 A RPN MSB 0
0 A RPN LSB 0
0 A Data Entry MSB: Pitch Bend Range 2
0 A RPN LSB 127
0 A RPN MSB 127
0 0 Voice Reverb Level 20
0 0 Voice Chorus Level 0
0 0 [Control 94] 0
0 0 Voice Volume 110
0 0 Voice Pan 64
0 0 Expression 127
0 0 Release Time 0
0 0 Pedal Sustain OFF
0 A Voice Reverb Level 50
0 A Voice Chorus Level 0
0 A [Control 94] 0
0 A Voice Volume 36
0 A Voice Pan 64
0 A Expression 127
0 A Release Time 0
0 A Pedal Sustain OFF
0 polytouch channel=0 note=0 value=64 time=0
0 0 Pitch Bend 0
0 A Pitch Bend 0
0 0 Note 072(C4) 80
47 0 Note 072(C4) 0
95 0 Note 072(C4) 80
143 0 Note 072(C4) 0
191 0 Note 072(C4) 80
239 0 Note 072(C4) 0
287 0 Note 072(C4) 80
335 0 Note 072(C4) 0
383 0 Note 072(C4) 80
431 0 Note 072(C4) 0
479 0 Note 072(C4) 80
527 0 Note 072(C4) 0
575 0 Note 072(C4) 80
623 0 Note 072(C4) 0
671 0 Note 072(C4) 80
719 0 Note 072(C4) 0
767 0 Note 072(C4) 80
815 0 Note 072(C4) 0
863 0 Note 072(C4) 80
911 0 Note 072(C4) 0
959 0 Note 072(C4) 80
1007 0 Note 072(C4) 0
1055 0 Note 072(C4) 80
1103 0 Note 072(C4) 0
1151 0 Note 072(C4) 80
1199 0 Note 072(C4) 0
1247 0 Note 072(C4) 80
1295 0 Note 072(C4) 0
1343 0 Note 072(C4) 80
1391 0 Note 072(C4) 0
1439 0 Note 072(C4) 80
1487 0 Note 072(C4) 0
1535 0 Note 072(C4) 80
1583 0 Note 072(C4) 0
1631 0 Note 072(C4) 80
1679 0 Note 072(C4) 0
1727 0 Note 072(C4) 80
1775 0 Note 072(C4) 0
1823 0 Note 072(C4) 80
1871 0 Note 072(C4) 0
1919 0 Note 072(C4) 80
1967 0 Note 072(C4) 0
2015 0 Note 072(C4) 80
2063 0 Note 072(C4) 0
2111 0 Note 072(C4) 80
2159 0 Note 072(C4) 0
2207 0 Note 072(C4) 80
2255 0 Note 072(C4) 0
2303 0 Note 072(C4) 80
2351 0 Note 072(C4) 0
2399 0 Note 072(C4) 80
2447 0 Note 072(C4) 0
2495 0 Note 072(C4) 80
2543 0 Note 072(C4) 0
2591 0 Note 072(C4) 80
2639 0 Note 072(C4) 0
2687 0 Note 072(C4) 80
2735 0 Note 072(C4) 0
2783 0 Note 072(C4) 80
2831 0 Note 072(C4) 0
2879 0 Note 072(C4) 80
2927 0 Note 072(C4) 0
2975 0 Note 072(C4) 80
3023 0 Note 072(C4) 0
3071 0 Note 072(C4) 80
3119 0 Note 072(C4) 0
3167 0 Note 072(C4) 80
3215 0 Note 072(C4) 0
3263 0 Note 072(C4) 80
3311 0 Note 072(C4) 0
3359 0 Note 072(C4) 80
3407 0 Note 072(C4) 0
3455 0 Note 072(C4) 80
3503 0 Note 072(C4) 0
3551 0 Note 072(C4) 80
3599 0 Note 072(C4) 0
3647 0 Note 072(C4) 80
3695 0 Note 072(C4) 0
3743 0 Note 072(C4) 80
3791 0 Note 072(C4) 0
3839 0 Note 072(C4) 80
3887 0 Note 072(C4) 0
3935 0 Note 072(C4) 80
3983 0 Note 072(C4) 0
4031 0 Note 072(C4) 80
4079 0 Note 072(C4) 0
4127 0 Note 072(C4) 80
4175 0 Note 072(C4) 0
4223 0 Note 072(C4) 80
4271 0 Note 072(C4) 0
4319 0 Note 072(C4) 80
4367 0 Note 072(C4) 0
4415 0 Note 072(C4) 80
4463 0 Note 072(C4) 0
4511 0 Note 072(C4) 80
4559 0 Note 072(C4) 0
4607 0 Note 072(C4) 80
4655 0 Note 072(C4) 0
4703 0 Note 072(C4) 80
4751 0 Note 072(C4) 0
4799 0 Note 072(C4) 80
4847 0 Note 072(C4) 0
4895 0 Note 072(C4) 80
4943 0 Note 072(C4) 0
4991 0 Note 072(C4) 80
5039 0 Note 072(C4) 0
5087 0 Note 072(C4) 80
5135 0 Note 072(C4) 0
5183 0 Note 072(C4) 80
5231 0 Note 072(C4) 0
5279 0 Note 072(C4) 80
5327 0 Note 072(C4) 0
5375 0 Note 072(C4) 80
5423 0 Note 072(C4) 0
5471 0 Note 072(C4) 80
5519 0 Note 072(C4) 0
5567 0 Note 072(C4) 80
5615 0 Note 072(C4) 0
5663 0 Note 072(C4) 80
5711 0 Note 072(C4) 0
5759 0 Note 072(C4) 80
5807 0 Note 072(C4) 0
5855 0 Note 072(C4) 80
5903 0 Note 072(C4) 0
5951 0 Note 072(C4) 80
5999 0 Note 072(C4) 0
6047 0 Note 072(C4) 80
6095 0 Note 072(C4) 0
6143 0 Note 072(C4) 80
6191 0 Note 072(C4) 0
6239 0 Note 072(C4) 80
6287 0 Note 072(C4) 0
6335 0 Note 072(C4) 80
6383 0 Note 072(C4) 0
6431 0 Note 072(C4) 80
6479 0 Note 072(C4) 0
6527 0 Note 072(C4) 80
6575 0 Note 072(C4) 0
6623 0 Note 072(C4) 80
6671 0 Note 072(C4) 0
6719 0 Note 072(C4) 80
6767 0 Note 072(C4) 0
6815 0 Note 072(C4) 80
6863 0 Note 072(C4) 0
6911 0 Note 072(C4) 80
6959 0 Note 072(C4) 0
7007 0 Note 072(C4) 80
7055 0 Note 072(C4) 0
7103 0 Note 072(C4) 80
7151 0 Note 072(C4) 0
7199 0 Note 072(C4) 80
7247 0 Note 072(C4) 0
7295 0 Note 072(C4) 80
7343 0 Note 072(C4) 0
7391 0 Note 072(C4) 80
7439 0 Note 072(C4) 0
7487 0 Note 072(C4) 80
7535 0 Note 072(C4) 0
7583 0 Note 072(C4) 80
7631 0 Note 072(C4) 0
7679 0 Note 072(C4) 80
7727 0 Note 072(C4) 0
7775 0 Note 072(C4) 80
7823 0 Note 072(C4) 0
7871 0 Note 072(C4) 80
7919 0 Note 072(C4) 0
7967 0 Note 072(C4) 80
8015 0 Note 072(C4) 0
8063 0 Note 072(C4) 80
8111 0 Note 072(C4) 0
8159 0 Note 072(C4) 80
8207 0 Note 072(C4) 0
8255 0 Note 072(C4) 80
8303 0 Note 072(C4) 0
8351 0 Note 072(C4) 80
8399 0 Note 072(C4) 0
8447 0 Note 072(C4) 80
8495 0 Note 072(C4) 0
8543 0 Note 072(C4) 80
8591 0 Note 072(C4) 0
8639 0 Note 072(C4) 80
8687 0 Note 072(C4) 0
8735 0 Note 072(C4) 80
8783 0 Note 072(C4) 0
8831 0 Note 072(C4) 80
8879 0 Note 072(C4) 0
8927 0 Note 072(C4) 80
8975 0 Note 072(C4) 0
9023 0 Note 072(C4) 80
9071 0 Note 072(C4) 0
9119 0 Note 072(C4) 80
9167 0 Note 072(C4) 0
9215 0 Note 072(C4) 80
9263 0 Note 072(C4) 0
9311 0 Note 072(C4) 80
9359 0 Note 072(C4) 0
9407 0 Note 072(C4) 80
9455 0 Note 072(C4) 0
9503 0 Note 072(C4) 80
9551 0 Note 072(C4) 0
9599 0 Note 072(C4) 80
9647 0 Note 072(C4) 0
9695 0 Note 072(C4) 80
9743 0 Note 072(C4) 0
9791 0 Note 072(C4) 80
9839 0 Note 072(C4) 0
9887 0 Note 072(C4) 80
9935 0 Note 072(C4) 0
9983 0 Note 072(C4) 80
10031 0 Note 072(C4) 0
10079 0 Note 072(C4) 80
10127 0 Note 072(C4) 0
10175 0 Note 072(C4) 80
10223 0 Note 072(C4) 0
10271 0 Note 072(C4) 80
10319 0 Note 072(C4) 0
10367 0 Note 072(C4) 80
10415 0 Note 072(C4) 0
10463 0 Note 072(C4) 80
10511 0 Note 072(C4) 0
10559 0 Note 072(C4) 80
10607 0 Note 072(C4) 0
10655 0 Note 072(C4) 80
10703 0 Note 072(C4) 0
10751 0 Note 072(C4) 80
10799 0 Note 072(C4) 0
10847 0 Note 072(C4) 80
10895 0 Note 072(C4) 0
10943 0 Note 072(C4) 80
10991 0 Note 072(C4) 0
11039 0 Note 072(C4) 80
11087 0 Note 072(C4) 0
11135 0 Note 072(C4) 80
11183 0 Note 072(C4) 0
11231 0 Note 072(C4) 80
11279 0 Note 072(C4) 0
11327 0 Note 072(C4) 80
11375 0 Note 072(C4) 0
11423 0 Note 072(C4) 80
11471 0 Note 072(C4) 0
11519 0 Note 072(C4) 80
11567 0 Note 072(C4) 0
11615 0 Note 072(C4) 80
11663 0 Note 072(C4) 0
11711 0 Note 072(C4) 80
11759 0 Note 072(C4) 0
11807 0 Note 072(C4) 80
11855 0 Note 072(C4) 0
11903 0 Note 072(C4) 80
11951 0 Note 072(C4) 0
11999 0 Note 072(C4) 80
12047 0 Note 072(C4) 0
12095 0 Note 072(C4) 80
12143 0 Note 072(C4) 0
12191 0 Note 072(C4) 80
12239 0 Note 072(C4) 0
12287 0 Note 072(C4) 80
12335 0 Note 072(C4) 0
12383 0 Note 072(C4) 80
12431 0 Note 072(C4) 0
12479 0 Note 072(C4) 80
12527 0 Note 072(C4) 0
12575 0 Note 072(C4) 80
12623 0 Note 072(C4) 0
12671 0 Note 072(C4) 80
12719 0 Note 072(C4) 0
12767 0 Note 072(C4) 80
12815 0 Note 072(C4) 0
12863 0 Note 072(C4) 80
12911 0 Note 072(C4) 0
12959 0 Note 072(C4) 80
13007 0 Note 072(C4) 0
13055 0 Note 072(C4) 80
13103 0 Note 072(C4) 0
13151 0 Note 072(C4) 80
13199 0 Note 072(C4) 0
13247 0 Note 072(C4) 80
13295 0 Note 072(C4) 0
13343 0 Note 072(C4) 80
13391 0 Note 072(C4) 0
13439 0 Note 072(C4) 80
13487 0 Note 072(C4) 0
13535 0 Note 072(C4) 80
13583 0 Note 072(C4) 0
13631 0 Note 072(C4) 80
13679 0 Note 072(C4) 0
13727 0 Note 072(C4) 80
13775 0 Note 072(C4) 0
13823 0 Note 072(C4) 80
13871 0 Note 072(C4) 0
13919 0 Note 072(C4) 80
13967 0 Note 072(C4) 0
14015 0 Note 072(C4) 80
14063 0 Note 072(C4) 0
14111 0 Note 072(C4) 80
14159 0 Note 072(C4) 0
14207 0 Note 072(C4) 80
14255 0 Note 072(C4) 0
14303 0 Note 072(C4) 80
14351 0 Note 072(C4) 0
14399 0 Note 072(C4) 80
14447 0 Note 072(C4) 0
14495 0 Note 072(C4) 80
14543 0 Note 072(C4) 0
14591 0 Note 072(C4) 80
14639 0 Note 072(C4) 0
14687 0 Note 072(C4) 80
14735 0 Note 072(C4) 0
14783 0 Note 072(C4) 80
14831 0 Note 072(C4) 0
14879 0 Note 072(C4) 80
14927 0 Note 072(C4) 0
14975 0 Note 072(C4) 80
15023 0 Note 072(C4) 0
15071 0 Note 072(C4) 80
15119 0 Note 072(C4) 0
15167 0 Note 072(C4) 80
15215 0 Note 072(C4) 0
15263 0 Note 072(C4) 80
15311 0 Note 072(C4) 0
15359 0 Note 072(C4) 80
15407 0 Note 072(C4) 0
15455 0 Note 072(C4) 80
15503 0 Note 072(C4) 0
15551 0 Note 072(C4) 80
15599 0 Note 072(C4) 0
15647 0 Note 072(C4) 80
15695 0 Note 072(C4) 0
15743 0 Note 072(C4) 80
15791 0 Note 072(C4) 0
15839 0 Note 072(C4) 80
15887 0 Note 072(C4) 0
15935 0 Note 072(C4) 80
15983 0 Note 072(C4) 0
16031 0 Note 072(C4) 80
16079 0 Note 072(C4) 0
16127 0 Note 072(C4) 80
16175 0 Note 072(C4) 0
16223 0 Note 072(C4) 80
16271 0 Note 072(C4) 0
16319 0 Note 072(C4) 80
16367 0 Note 072(C4) 0
16415 0 Note 072(C4) 80
16463 0 Note 072(C4) 0
16511 0 Note 072(C4) 80
16559 0 Note 072(C4) 0
16559 0 RPN MSB 0
16559 0 RPN LSB 0
16559 0 Data Entry MSB: Pitch Bend Range 2
16559 A RPN MSB 0
16559 A RPN LSB 0
16559 A Data Entry MSB: Pitch Bend Range 2
18812 0 Note 072(C4) 80
18813 0 Note 076(E4) 80
18882 0 Note 072(C4) 0
18883 0 Note 076(E4) 0
19461 polytouch channel=0 note=0 value=65 time=578
19461 0 RPN MSB 0
19461 0 RPN LSB 0
19461 0 Data Entry MSB: Pitch Bend Range 2
19461 A RPN MSB 0
19461 A RPN LSB 0
19461 A Data Entry MSB: Pitch Bend Range 2
20053 0 Note 072(C4) 80
20053 0 Note 076(E4) 80
20119 0 Note 076(E4) 0
20122 0 Note 072(C4) 0
20709 polytouch channel=0 note=0 value=64 time=587
20709 0 RPN MSB 0
20709 0 RPN LSB 0
20709 0 Data Entry MSB: Pitch Bend Range 2
20709 A RPN MSB 0
20709 A RPN LSB 0
20709 A Data Entry MSB: Pitch Bend Range 2
21223 0 Note 072(C4) 80
21223 0 Note 076(E4) 80
21287 0 Note 072(C4) 0
21288 0 Note 076(E4) 0
22823 0 Bank MSB 0
22823 0 Bank LSB 112
22823 0 Program Change [0,112,47] 121 Timpani (PERCUSSION)
22823 polytouch channel=0 note=0 value=63 time=0
22823 A Bank MSB 0
22823 A Bank LSB 112
22823 A Program Change [0,112,55] 065 Orchestra Hit (STRINGS)
22855 0 Voice Volume 102
22855 0 Voice Reverb Level 40
22855 A Voice Volume 70
22855 A Voice Reverb Level 54
23898 0 Bank MSB 127
23898 0 Bank LSB 0
23898 0 Program Change [127,0,0] 122 Standard Kit 1 (DRUM KITS)
23898 A Bank MSB 0
23898 A Bank LSB 112
23898 A Program Change [0,112,48] 054 String Ensemble (STRINGS)
23939 0 Voice Volume 104
23939 0 Voice Reverb Level 28
23939 A Voice Volume 100
23939 A Voice Reverb Level 40
24986 0 Note 072(C4) 80
25141 0 Note 072(C4) 0
25325 0 Note 072(C4) 80
25424 0 Note 072(C4) 0
25632 0 Note 084(C5) 80
25772 0 Note 084(C5) 0
25940 0 Note 072(C4) 80
26071 0 Note 072(C4) 0
26262 0 Note 060(C3) 80
26434 0 Note 060(C3) 0
26596 0 Note 072(C4) 80
26725 0 Note 072(C4) 0
26915 0 Note 084(C5) 80
27063 0 Note 084(C5) 0
27231 0 Note 072(C4) 80
27356 0 Note 072(C4) 0
27563 0 Note 060(C3) 80
27712 0 Note 060(C3) 0
28236 0 Note 072(C4) 80
28491 0 Note 072(C4) 0
28886 0 Note 084(C5) 80
29419 0 Note 084(C5) 0
33043 0 All Sound OFF
33043 A All Sound OFF
33043 <meta message end_of_track time=0>

In [21]:
tr10 = mido.MidiFile('documents/data/user_song_tests/10track_1.mid')

In [27]:
tr10.tracks[0] == tr9.tracks[0]


Out[27]:
False

In [32]:
tr10.tracks[0][5:] == tr9.tracks[0][5:]


Out[32]:
True

In [37]:
trackprint(tr10.tracks[0][:5])

trackprint(tr9.tracks[0][:5])


0 <meta message time_signature numerator=5 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=624992 time=0>
0 GM System ON
0 Reverb Type 10(Off)
0 Chorus Type 5(Off)
0 <meta message time_signature numerator=5 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=624992 time=0>
0 GM System ON
0 Reverb Type 02(Hall2)
0 Chorus Type 1(Chorus1)

In [36]:
trackprint(tr10.tracks[2])


0 Reverb Type 10(Off)
0 Chorus Type 5(Off)
0 <meta message text text=' YAMAHA ' time=0>
0 1 Bank MSB 0
0 1 Bank LSB 113
0 1 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
0 B Bank MSB 0
0 B Bank LSB 112
0 B Program Change [0,112,48] 054 String Ensemble (STRINGS)
0 1 RPN MSB 0
0 1 RPN LSB 0
0 1 Data Entry MSB: Pitch Bend Range 2
0 1 RPN LSB 127
0 1 RPN MSB 127
0 B RPN MSB 0
0 B RPN LSB 0
0 B Data Entry MSB: Pitch Bend Range 2
0 B RPN LSB 127
0 B RPN MSB 127
0 1 Voice Reverb Level 127
0 1 Voice Chorus Level 127
0 1 [Control 94] 0
0 1 Voice Volume 110
0 1 Voice Pan 64
0 1 Expression 127
0 1 Release Time 0
0 1 Pedal Sustain OFF
0 B Voice Reverb Level 50
0 B Voice Chorus Level 0
0 B [Control 94] 0
0 B Voice Volume 36
0 B Voice Pan 64
0 B Expression 127
0 B Release Time 0
0 B Pedal Sustain OFF
0 polytouch channel=1 note=0 value=64 time=0
0 1 Pitch Bend 0
0 B Pitch Bend 0
0 1 Note 072(C4) 67
69 1 Note 076(E4) 35
72 1 Note 072(C4) 0
106 1 Note 079(G4) 62
110 1 Note 076(E4) 0
172 1 Note 076(E4) 45
176 1 Note 079(G4) 0
207 1 Note 072(C4) 44
209 1 Note 076(E4) 0
272 1 Note 076(E4) 42
279 1 Note 072(C4) 0
310 1 Note 079(G4) 57
319 1 Note 076(E4) 0
379 1 Note 076(E4) 42
384 1 Note 079(G4) 0
409 1 Note 076(E4) 0
410 1 Note 072(C4) 47
474 1 Note 076(E4) 42
483 1 Note 072(C4) 0
508 1 Note 079(G4) 58
512 1 Note 076(E4) 0
525 1 Note 079(G4) 0
575 1 Note 084(C5) 61
609 1 Note 079(G4) 59
609 1 Note 084(C5) 0
672 1 Note 076(E4) 57
673 1 Note 079(G4) 0
688 1 Note 076(E4) 0
706 1 Note 072(C4) 68
761 1 Note 076(E4) 47
761 1 Note 072(C4) 0
796 1 Note 072(C4) 60
797 1 Note 076(E4) 0
829 1 Note 074(D4) 58
835 1 Note 072(C4) 0
853 1 Note 076(E4) 58
862 1 Note 074(D4) 0
880 1 Note 077(F4) 56
891 1 Note 076(E4) 0
908 1 Note 079(G4) 67
915 1 Note 077(F4) 0
934 1 Note 077(F4) 49
942 1 Note 079(G4) 0
957 1 Note 076(E4) 36
968 1 Note 077(F4) 0
981 1 Note 074(D4) 38
985 1 Note 076(E4) 0
1006 1 Note 072(C4) 59
1007 1 Note 074(D4) 0
1027 1 Note 074(D4) 49
1033 1 Note 072(C4) 0
1052 1 Note 076(E4) 42
1055 1 Note 074(D4) 0
1077 1 Note 077(F4) 40
1093 1 Note 076(E4) 0
1101 1 Note 079(G4) 44
1101 1 Note 077(F4) 0
1132 1 Note 079(G4) 0
1194 1 Note 079(G4) 58
1232 1 Note 079(G4) 0
1288 1 Note 074(D4) 66
1342 1 Note 074(D4) 0
1342 1 Note 076(E4) 42
1380 1 Note 072(C4) 68
1382 1 Note 076(E4) 0
1444 1 Note 072(C4) 0
1445 1 Note 074(D4) 33
1475 1 Note 074(D4) 0
1569 1 Note 072(C4) 72
1627 1 Note 074(D4) 53
1633 1 Note 072(C4) 0
1661 1 Note 076(E4) 66
1667 1 Note 074(D4) 0
1717 1 Note 077(F4) 42
1720 1 Note 076(E4) 0
1752 1 Note 079(G4) 64
1755 1 Note 077(F4) 0
1813 1 Note 077(F4) 48
1819 1 Note 079(G4) 0
1843 1 Note 076(E4) 61
1849 1 Note 077(F4) 0
1904 1 Note 074(D4) 59
1910 1 Note 076(E4) 0
1932 1 Note 074(D4) 0
1933 1 Note 072(C4) 55
1994 1 Note 074(D4) 36
1996 1 Note 076(E4) 33
1999 1 Note 072(C4) 0
2009 1 Note 076(E4) 0
2025 1 Note 076(E4) 72
2028 1 Note 074(D4) 0
2087 1 Note 077(F4) 51
2103 1 Note 076(E4) 0
2117 1 Note 079(G4) 60
2121 1 Note 077(F4) 0
2179 1 Note 077(F4) 48
2183 1 Note 079(G4) 0
2210 1 Note 076(E4) 55
2216 1 Note 077(F4) 0
2271 1 Note 074(D4) 69
2278 1 Note 076(E4) 0
2297 1 Note 074(D4) 0
2298 1 Note 072(C4) 58
2366 1 Note 074(D4) 58
2372 1 Note 072(C4) 0
2393 1 Note 076(E4) 68
2398 1 Note 074(D4) 0
2457 1 Note 077(F4) 46
2469 1 Note 076(E4) 0
2491 1 Note 079(G4) 63
2498 1 Note 077(F4) 0
2554 1 Note 076(E4) 44
2560 1 Note 079(G4) 0
2587 1 Note 075(Eb4) 56
2595 1 Note 076(E4) 0
2645 1 Note 074(D4) 58
2654 1 Note 075(Eb4) 0
2675 1 Note 074(D4) 0
2675 1 Note 073(Db4) 65
2739 1 Note 074(D4) 56
2747 1 Note 073(Db4) 0
2768 1 Note 075(Eb4) 67
2772 1 Note 074(D4) 0
2830 1 Note 076(E4) 55
2843 1 Note 075(Eb4) 0
2863 1 Note 079(G4) 76
2868 1 Note 076(E4) 0
2927 1 Note 076(E4) 61
2932 1 Note 079(G4) 0
2956 1 Note 075(Eb4) 56
2964 1 Note 076(E4) 0
3014 1 Note 074(D4) 42
3021 1 Note 075(Eb4) 0
3046 1 Note 073(Db4) 65
3046 1 Note 074(D4) 0
3069 1 Note 074(D4) 37
3077 1 Note 073(Db4) 0
3092 1 Note 075(Eb4) 41
3097 1 Note 074(D4) 0
3116 1 Note 076(E4) 47
3126 1 Note 075(Eb4) 0
3142 1 Note 079(G4) 60
3147 1 Note 076(E4) 0
3162 1 Note 076(E4) 42
3169 1 Note 079(G4) 0
3185 1 Note 075(Eb4) 35
3191 1 Note 076(E4) 0
3208 1 Note 074(D4) 47
3216 1 Note 075(Eb4) 0
3236 1 Note 073(Db4) 61
3237 1 Note 074(D4) 0
3256 1 Note 074(D4) 56
3263 1 Note 073(Db4) 0
3280 1 Note 075(Eb4) 39
3286 1 Note 074(D4) 0
3304 1 Note 076(E4) 41
3318 1 Note 075(Eb4) 0
3333 1 Note 079(G4) 55
3339 1 Note 076(E4) 0
3374 1 Note 079(G4) 0
3427 1 Note 076(E4) 47
3456 1 Note 079(G4) 38
3462 1 Note 076(E4) 0
3483 1 Note 084(C5) 42
3490 1 Note 079(G4) 0
3507 1 Note 086(D5) 37
3521 1 Note 084(C5) 0
3532 1 Note 087(Eb5) 54
3537 1 Note 086(D5) 0
3560 1 Note 086(D5) 42
3569 1 Note 087(Eb5) 0
3581 1 Note 085(Db5) 35
3590 1 Note 086(D5) 0
3605 1 Note 084(C5) 39
3610 1 Note 085(Db5) 0
3633 1 Note 081(A4) 54
3634 1 Note 084(C5) 0
3655 1 Note 084(C5) 33
3660 1 Note 081(A4) 0
3679 1 Note 086(D5) 39
3685 1 Note 084(C5) 0
3702 1 Note 087(Eb5) 43
3710 1 Note 086(D5) 0
3729 1 Note 088(E5) 66
3737 1 Note 087(Eb5) 0
3767 1 Note 088(E5) 0
3830 1 Note 076(E4) 65
3854 1 Note 079(G4) 55
3859 1 Note 076(E4) 0
3881 1 Note 084(C5) 50
3887 1 Note 079(G4) 0
3907 1 Note 086(D5) 42
3916 1 Note 084(C5) 0
3935 1 Note 087(Eb5) 60
3942 1 Note 086(D5) 0
3958 1 Note 086(D5) 40
3967 1 Note 087(Eb5) 0
3985 1 Note 085(Db5) 34
3993 1 Note 086(D5) 0
4008 1 Note 084(C5) 47
4017 1 Note 085(Db5) 0
4036 1 Note 081(A4) 52
4037 1 Note 084(C5) 0
4061 1 Note 084(C5) 38
4067 1 Note 081(A4) 0
4086 1 Note 086(D5) 55
4090 1 Note 084(C5) 0
4110 1 Note 087(Eb5) 54
4117 1 Note 086(D5) 0
4137 1 Note 088(E5) 65
4145 1 Note 087(Eb5) 0
4173 1 Note 088(E5) 0
4230 1 Note 076(E4) 63
4255 1 Note 079(G4) 39
4260 1 Note 076(E4) 0
4280 1 Note 084(C5) 45
4287 1 Note 079(G4) 0
4304 1 Note 086(D5) 40
4315 1 Note 084(C5) 0
4329 1 Note 079(G4) 59
4334 1 Note 086(D5) 0
4353 1 Note 076(E4) 48
4363 1 Note 079(G4) 0
4377 1 Note 074(D4) 41
4387 1 Note 076(E4) 0
4402 1 Note 072(C4) 48
4411 1 Note 074(D4) 0
4430 1 Note 071(B3) 66
4432 1 Note 072(C4) 0
4453 1 Note 072(C4) 40
4459 1 Note 071(B3) 0
4475 1 Note 074(D4) 58
4485 1 Note 072(C4) 0
4500 1 Note 076(E4) 51
4511 1 Note 074(D4) 0
4525 1 Note 076(E4) 0
4527 1 Note 078(F#4) 76
4556 1 Note 079(G4) 36
4556 1 Note 078(F#4) 0
4579 1 Note 081(A4) 40
4582 1 Note 079(G4) 0
4597 1 Note 083(B4) 38
4603 1 Note 081(A4) 0
4627 1 Note 081(A4) 73
4636 1 Note 083(B4) 0
4649 1 Note 079(G4) 61
4657 1 Note 081(A4) 0
4676 1 Note 076(E4) 58
4680 1 Note 079(G4) 0
4704 1 Note 074(D4) 64
4711 1 Note 076(E4) 0
4726 1 Note 072(C4) 73
4732 1 Note 074(D4) 0
4751 1 Note 071(B3) 60
4755 1 Note 072(C4) 0
4778 1 Note 071(B3) 0
4780 1 Note 069(A3) 69
4803 1 Note 069(A3) 0
4803 1 Note 069(A3) 47
4828 1 Note 067(G3) 72
4829 1 Note 069(A3) 0
4851 1 Note 069(A3) 37
4854 1 Note 067(G3) 0
4875 1 Note 072(C4) 45
4880 1 Note 069(A3) 0
4897 1 Note 074(D4) 70
4903 1 Note 072(C4) 0
4924 1 Note 076(E4) 63
4927 1 Note 074(D4) 0
4981 1 Note 076(E4) 0
5023 1 Note 072(C4) 70
5049 1 Note 074(D4) 67
5052 1 Note 072(C4) 0
5074 1 Note 076(E4) 54
5081 1 Note 074(D4) 0
5100 1 Note 076(E4) 0
5102 1 Note 079(G4) 33
5124 1 Note 079(G4) 0
5125 1 Note 081(A4) 67
5146 1 Note 084(C5) 47
5152 1 Note 081(A4) 0
5169 1 Note 086(D5) 70
5174 1 Note 084(C5) 0
5196 1 Note 088(E5) 63
5203 1 Note 086(D5) 0
5221 1 Note 086(D5) 71
5229 1 Note 088(E5) 0
5242 1 Note 084(C5) 45
5251 1 Note 086(D5) 0
5268 1 Note 081(A4) 71
5276 1 Note 084(C5) 0
5291 1 Note 079(G4) 56
5291 1 Note 081(A4) 0
5317 1 Note 081(A4) 69
5319 1 Note 079(G4) 0
5367 1 Note 081(A4) 0
5412 1 Note 081(A4) 75
5435 1 Note 079(G4) 43
5440 1 Note 081(A4) 0
5460 1 Note 079(G4) 0
5462 1 Note 081(A4) 47
5482 1 Note 079(G4) 38
5486 1 Note 081(A4) 0
5504 1 Note 079(G4) 0
5509 1 Note 081(A4) 68
5534 1 Note 084(C5) 64
5537 1 Note 081(A4) 0
5555 1 Note 084(C5) 0
5557 1 Note 081(A4) 66
5578 1 Note 079(G4) 78
5586 1 Note 081(A4) 0
5604 1 Note 076(E4) 66
5606 1 Note 079(G4) 0
5627 1 Note 074(D4) 61
5631 1 Note 076(E4) 0
5653 1 Note 072(C4) 96
5656 1 Note 074(D4) 0
5670 1 Note 072(C4) 0
5674 1 Note 069(A3) 67
5699 1 Note 067(G3) 89
5705 1 Note 069(A3) 0
5741 1 Note 067(G3) 0
5800 1 Note 069(A3) 72
5821 1 Note 074(D4) 42
5823 1 Note 069(A3) 0
5851 1 Note 076(E4) 58
5854 1 Note 074(D4) 0
5873 1 Note 074(D4) 59
5879 1 Note 076(E4) 0
5897 1 Note 072(C4) 59
5899 1 Note 074(D4) 0
5920 1 Note 074(D4) 38
5923 1 Note 072(C4) 0
5945 1 Note 072(C4) 41
5950 1 Note 074(D4) 0
5967 1 Note 069(A3) 58
5972 1 Note 072(C4) 0
5995 1 Note 067(G3) 66
5996 1 Note 069(A3) 0
6039 1 Note 067(G3) 0
6096 1 Note 069(A3) 71
6140 1 Note 069(A3) 0
6193 1 Note 069(A3) 77
6214 1 Note 072(C4) 69
6217 1 Note 069(A3) 0
6239 1 Note 074(D4) 58
6245 1 Note 072(C4) 0
6262 1 Note 076(E4) 63
6270 1 Note 074(D4) 0
6287 1 Note 079(G4) 66
6294 1 Note 076(E4) 0
6335 1 Note 079(G4) 0
6388 1 Note 081(A4) 74
6417 1 Note 081(A4) 0
6417 1 Note 081(A4) 44
6440 1 Note 081(A4) 0
6468 1 Note 081(A4) 85
6509 1 Note 081(A4) 0
6513 1 Note 081(A4) 61
6534 1 Note 081(A4) 0
6536 1 Note 081(A4) 73
6556 1 Note 081(A4) 0
6586 1 Note 081(A4) 43
6587 1 Note 079(G4) 41
6618 1 Note 079(G4) 0
6627 1 Note 081(A4) 0
6631 1 Note 076(E4) 75
6680 1 Note 076(E4) 0
6682 1 Note 074(D4) 68
6703 1 Note 076(E4) 72
6709 1 Note 074(D4) 0
6722 1 Note 076(E4) 0
6761 1 Note 076(E4) 96
6787 1 Note 078(F#4) 77
6788 1 Note 076(E4) 0
6810 1 Note 078(F#4) 0
6836 1 Note 076(E4) 77
6856 1 Note 076(E4) 0
6861 1 Note 078(F#4) 74
6895 1 Note 078(F#4) 0
6911 1 Note 076(E4) 71
6930 1 Note 078(F#4) 85
6932 1 Note 076(E4) 0
6960 1 Note 078(F#4) 0
6981 1 Note 076(E4) 74
6999 1 Note 078(F#4) 69
7003 1 Note 076(E4) 0
7025 1 Note 079(G4) 67
7028 1 Note 078(F#4) 0
7050 1 Note 081(A4) 63
7059 1 Note 079(G4) 0
7075 1 Note 083(B4) 74
7086 1 Note 081(A4) 0
7126 1 Note 083(B4) 0
7171 1 Note 076(E4) 75
7192 1 Note 078(F#4) 53
7199 1 Note 076(E4) 0
7218 1 Note 079(G4) 53
7223 1 Note 078(F#4) 0
7238 1 Note 081(A4) 56
7244 1 Note 079(G4) 0
7265 1 Note 083(B4) 74
7270 1 Note 081(A4) 0
7320 1 Note 083(B4) 0
7367 1 Note 083(B4) 72
7389 1 Note 079(G4) 52
7394 1 Note 083(B4) 0
7413 1 Note 076(E4) 55
7414 1 Note 079(G4) 0
7435 1 Note 079(G4) 52
7442 1 Note 076(E4) 0
7462 1 Note 083(B4) 73
7465 1 Note 079(G4) 0
7486 1 Note 079(G4) 42
7494 1 Note 083(B4) 0
7512 1 Note 083(B4) 52
7546 1 Note 083(B4) 0
7561 1 Note 081(A4) 77
7569 1 Note 079(G4) 0
7612 1 Note 079(G4) 59
7614 1 Note 081(A4) 0
7639 1 Note 079(G4) 0
7643 1 Note 083(B4) 81
7686 1 Note 083(B4) 0
7692 1 Note 076(E4) 72
7713 1 Note 076(E4) 0
7714 1 Note 079(G4) 71
7759 1 Note 079(G4) 0
7764 1 Note 076(E4) 75
7808 1 Note 076(E4) 0
7812 1 Note 079(G4) 29
7835 1 Note 079(G4) 0
7873 1 Note 083(B4) 39
7874 1 Note 081(A4) 32
7899 1 Note 081(A4) 0
7901 1 Note 083(B4) 0
7910 1 Note 079(G4) 64
7960 1 Note 079(G4) 0
7964 1 Note 083(B4) 81
8004 1 Note 083(B4) 0
8007 1 Note 079(G4) 63
8031 1 Note 079(G4) 0
8036 1 Note 083(B4) 77
8078 1 Note 083(B4) 0
8083 1 Note 088(E5) 51
8101 1 Note 083(B4) 73
8104 1 Note 088(E5) 0
8122 1 Note 083(B4) 0
8151 1 Note 083(B4) 79
8175 1 Note 083(B4) 0
8195 1 Note 083(B4) 72
8216 1 Note 083(B4) 0
8244 1 Note 083(B4) 76
8270 1 Note 083(B4) 0
8292 1 Note 083(B4) 72
8320 1 Note 083(B4) 0
8342 1 Note 083(B4) 90
8383 1 Note 083(B4) 0
8384 1 Note 086(D5) 41
8413 1 Note 083(B4) 77
8413 1 Note 086(D5) 0
8455 1 Note 083(B4) 0
8456 1 Note 086(D5) 59
8476 1 Note 083(B4) 72
8477 1 Note 086(D5) 0
8492 1 Note 083(B4) 0
8529 1 Note 079(G4) 62
8529 1 Note 081(A4) 67
8585 1 Note 081(A4) 0
8588 1 Note 079(G4) 0
8627 1 Note 076(E4) 72
8684 1 Note 076(E4) 0
8723 1 Note 076(E4) 96
8748 1 Note 078(F#4) 69
8752 1 Note 076(E4) 0
8774 1 Note 078(F#4) 0
8808 1 Note 074(D4) 85
8829 1 Note 074(D4) 0
8829 1 Note 076(E4) 69
8854 1 Note 076(E4) 0
8887 1 Note 074(D4) 93
8909 1 Note 074(D4) 0
8910 1 Note 076(E4) 62
8939 1 Note 076(E4) 0
8964 1 Note 074(D4) 63
8982 1 Note 076(E4) 63
8984 1 Note 074(D4) 0
9010 1 Note 076(E4) 0
9034 1 Note 074(D4) 72
9057 1 Note 076(E4) 66
9060 1 Note 074(D4) 0
9084 1 Note 076(E4) 0
9108 1 Note 074(D4) 72
9123 1 Note 076(E4) 64
9126 1 Note 074(D4) 0
9146 1 Note 076(E4) 0
9168 1 Note 074(D4) 69
9181 1 Note 076(E4) 74
9182 1 Note 074(D4) 0
9235 1 Note 076(E4) 0
9285 1 Note 071(B3) 82
9307 1 Note 071(B3) 0
9334 1 Note 074(D4) 79
9395 1 Note 074(D4) 0
9431 1 Note 076(E4) 86
9456 1 Note 074(D4) 63
9459 1 Note 076(E4) 0
9474 1 Note 074(D4) 0
9474 1 Note 072(C4) 50
9499 1 Note 074(D4) 63
9505 1 Note 072(C4) 0
9524 1 Note 074(D4) 0
9525 1 Note 076(E4) 78
9554 1 Note 076(E4) 0
9573 1 Note 074(D4) 73
9592 1 Note 074(D4) 0
9624 1 Note 067(G3) 74
9699 1 Note 067(G3) 0
9726 1 Note 072(C4) 72
9784 1 Note 072(C4) 0
9823 1 Note 069(A3) 76
9845 1 Note 071(B3) 52
9847 1 Note 069(A3) 0
9871 1 Note 072(C4) 72
9874 1 Note 071(B3) 0
9903 1 Note 072(C4) 0
9927 1 Note 072(C4) 69
9947 1 Note 074(D4) 65
9949 1 Note 072(C4) 0
9971 1 Note 076(E4) 79
9974 1 Note 074(D4) 0
10007 1 Note 076(E4) 0
10024 1 Note 072(C4) 85
10068 1 Note 076(E4) 79
10070 1 Note 072(C4) 0
10117 1 Note 076(E4) 0
10127 1 Note 067(G3) 93
10181 1 Note 067(G3) 0
10227 1 Note 072(C4) 69
10256 1 Note 072(C4) 0
10274 1 Note 072(C4) 66
10294 1 Note 072(C4) 0
10318 1 Note 072(C4) 63
10339 1 Note 074(D4) 67
10342 1 Note 072(C4) 0
10363 1 Note 076(E4) 70
10369 1 Note 074(D4) 0
10385 1 Note 076(E4) 0
10386 1 Note 072(C4) 63
10398 1 Note 072(C4) 0
10418 1 Note 067(G3) 69
10418 1 Note 069(A3) 59
10431 1 Note 069(A3) 0
10432 1 Note 067(G3) 0
10440 1 Note 072(C4) 75
10464 1 Note 076(E4) 59
10465 1 Note 072(C4) 0
10481 1 Note 076(E4) 0
10492 1 Note 076(E4) 78
10531 1 Note 076(E4) 0
10538 1 Note 074(D4) 65
10558 1 Note 072(C4) 53
10558 1 Note 074(D4) 0
10580 1 Note 072(C4) 0
10607 1 Note 074(D4) 73
10645 1 Note 074(D4) 0
10654 1 Note 074(D4) 76
10686 1 Note 074(D4) 0
10705 1 Note 074(D4) 77
10725 1 Note 076(E4) 67
10731 1 Note 074(D4) 0
10751 1 Note 074(D4) 66
10752 1 Note 076(E4) 0
10773 1 Note 072(C4) 61
10773 1 Note 074(D4) 0
10795 1 Note 074(D4) 74
10799 1 Note 072(C4) 0
10817 1 Note 076(E4) 59
10821 1 Note 074(D4) 0
10841 1 Note 074(D4) 63
10846 1 Note 076(E4) 0
10864 1 Note 074(D4) 0
10869 1 Note 072(C4) 89
10922 1 Note 072(C4) 0
10974 1 All Sound OFF
10974 B All Sound OFF
10974 <meta message end_of_track time=0>

I recorded Track 2 with LOCAL OFF, Performance Assistant ON melody mode, the reverb and chorus types set OFF but the reverb and chorus levels set to maximum. Local OFF did nothing but make it impossible to hear what you're playing.

The performance assistant actually affects the notes being played, so that is hard coded into the track.

Changing the reverb and chorus types actually overwrites the reverb and chorus types on track A.

Back to those durations...


In [48]:
# measures = (ticks) * (beats / tick) * (measures / beats)
#          = (ticks) / (ticks / beat) / (beats / measure)

def measures(midifile, track_no):
    ticks = sum(m.time for m in midifile.tracks[track_no])
    timesig = midifile.tracks[0][0]
    return int(ticks / midifile.ticks_per_beat / timesig.numerator)

In [49]:
measures(tr8, 1)


Out[49]:
344

In [50]:
measures(tr8, 0)


Out[50]:
0

In [51]:
measures(tr9, 1)


Out[51]:
68

In [52]:
measures(tr9, 0)


Out[52]:
224

In [54]:
[measures(tr10, i) for i in range(3)]


Out[54]:
[224, 68, 22]

In [55]:
!python extractor.py documents/data/user_song_tests/10track.syx -S 1


               Recorded   Duration       Size
 User Song 1       True        275       9133
     Track A       True        223       5665
     Track 1       True        275       1507
     Track 2       True         22       1947
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5      False          0          0


In [70]:
def measures2(midifile, track_no):
    ticks = sum(m.time for m in midifile.tracks[track_no])
    timesig = midifile.tracks[0][0]
    return (ticks / (timesig.numerator * midifile.ticks_per_beat))

In [72]:
measures2(tr10, 0)


Out[72]:
224.0

... maybe they round up and subtract 1?


In [73]:
import struct

In [105]:
def binspace(x):
    return " ".join(format(b, "08b") for b in x)

def bprint(x, f='>L'):
    print(binspace(struct.pack('>L', x)))

In [104]:
bprint(344)
bprint(68)
bprint(275)


00000000 00000000 00000001 01011000
00000000 00000000 00000000 01000100
00000000 00000000 00000001 00010011

Interesting, are these really weird values...

Is it a coincidence that 275 is 68 shifted up two places with ones inserted??


In [84]:
68 << 2 | 0b11


Out[84]:
275

I dunno. Probably.

Additional tests:

  1. New track with a different tempo and chorus type
    • What about overwriting the tempo?
    • When we overwrite the Reverb and Chorus types, does it affect playback for all tracks?
  2. Overwrite the style track with a new style with a different time signature
    • Can we get even weirder durations?
    • What exactly are the chord codes for the following combinations:
      • C* (C + D♭ + E♭)
      • C* (C + D♭ + F♯)
      • C* (C + D♭ + G)
      • C* (C + D♭ + B♭)
      • C* (C + D + E)
      • Weird bass only chord (C + D♭ + D + E♭)
      • Weird bass only chord with bottom note (C + D + E♭ + E) (same as above)?
      • Weird bass only chord with bottom note (G + C + D♭ + D + E♭) (same as above)?
      • Weird bass only chord with bottom note (G + C + D♭ + B) (same as above)?
      • No chord? (C + D♭ + B)
      • Transpositions of the above
      • Versions with various bottom notes added

In [85]:
!python collect.py -g DGX > documents/data/user_song_tests/11track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [86]:
!python extractor.py documents/data/user_song_tests/11track.syx -S 1 -s 1 -n documents/data/user_song_tests/11track_{}.mid


               Recorded   Duration       Size
 User Song 1       True        275       9462
     Track A       True        223       5665
     Track 1       True        275       1507
     Track 2       True         22       1947
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5       True          2        329


In [99]:
tr11 = mido.MidiFile('documents/data/user_song_tests/11track_1.mid')

In [90]:
[tr10.tracks[i] == tr11.tracks[i] for i in range(3)]


Out[90]:
[False, True, True]

In [91]:
trackprint(x for x, y in zip(tr11.tracks[0], tr10.tracks[0]) if x != y)


0 Reverb Type 09(Plate2)
0 Chorus Type 4(Flanger2)

In [92]:
trackprint(tr11.tracks[3])


0 Reverb Type 09(Plate2)
0 Chorus Type 4(Flanger2)
0 <meta message text text=' YAMAHA ' time=0>
0 4 Bank MSB 0
0 4 Bank LSB 113
0 4 Program Change [0,113,0] 001 Live! Grand Piano (PIANO)
0 E Bank MSB 0
0 E Bank LSB 112
0 E Program Change [0,112,48] 054 String Ensemble (STRINGS)
0 4 RPN MSB 0
0 4 RPN LSB 0
0 4 Data Entry MSB: Pitch Bend Range 2
0 4 RPN LSB 127
0 4 RPN MSB 127
0 E RPN MSB 0
0 E RPN LSB 0
0 E Data Entry MSB: Pitch Bend Range 2
0 E RPN LSB 127
0 E RPN MSB 127
0 4 Voice Reverb Level 20
0 4 Voice Chorus Level 0
0 4 [Control 94] 0
0 4 Voice Volume 110
0 4 Voice Pan 64
0 4 Expression 127
0 4 Release Time 0
0 4 Pedal Sustain OFF
0 E Voice Reverb Level 50
0 E Voice Chorus Level 0
0 E [Control 94] 0
0 E Voice Volume 36
0 E Voice Pan 64
0 E Expression 127
0 E Release Time 0
0 E Pedal Sustain OFF
0 polytouch channel=4 note=0 value=64 time=0
0 4 Pitch Bend 0
0 E Pitch Bend 0
0 4 Note 063(Eb3) 48
45 4 Note 063(Eb3) 0
45 4 Note 064(E3) 64
77 4 Note 064(E3) 0
120 4 Note 067(G3) 75
260 4 Note 067(G3) 0
293 4 Note 070(Bb3) 81
348 4 Note 070(Bb3) 0
358 4 Note 069(A3) 64
416 4 Note 067(G3) 62
421 4 Note 069(A3) 0
444 4 Note 067(G3) 0
446 4 Note 069(A3) 77
512 4 Note 067(G3) 63
514 4 Note 069(A3) 0
526 4 Note 067(G3) 0
572 4 Note 063(Eb3) 85
638 4 Note 063(Eb3) 0
642 4 Note 064(E3) 52
677 4 Note 064(E3) 0
677 4 Note 067(G3) 86
723 4 Note 067(G3) 0
740 4 Note 069(A3) 90
754 4 Note 069(A3) 0
776 4 Note 074(D4) 65
776 4 Note 072(C4) 66
791 4 Note 072(C4) 0
791 4 Note 074(D4) 0
831 4 Note 075(Eb4) 93
904 4 Note 075(Eb4) 0
930 4 Note 074(D4) 70
961 4 Note 074(D4) 0
964 4 Note 072(C4) 67
982 4 Note 072(C4) 0
1022 4 Note 069(A3) 73
1036 4 Note 069(A3) 0
1052 4 Note 067(G3) 89
1095 4 Note 067(G3) 0
1149 4 Note 060(C3) 65
1149 4 Note 067(G3) 52
1149 4 Note 064(E3) 60
1162 4 Note 060(C3) 0
1167 4 Note 064(E3) 0
1168 4 Note 067(G3) 0
1372 4 All Sound OFF
1372 E All Sound OFF
1372 <meta message end_of_track time=0>

You can't change the tempo if a style track is recorded, but the chorus and reverb types are overwritten... and yes, upon hearing the playback, it affects the whole instrument, not just per track.

Now, we overwrite the style track with a style with a different time signature and tempo, and accompany with some weird chords.

Let's try JazzWaltz2 (115).


In [93]:
!python collect.py -g DGX > documents/data/user_song_tests/12track.syx


Reading from port 'DGX-505:DGX-505 MIDI 1 20:0'
Section: Song data
Message  1 of 39,  2048/76904 data bytes received
Message  2 of 39,  4096/76904 data bytes received
Message  3 of 39,  6144/76904 data bytes received
Message  4 of 39,  8192/76904 data bytes received
Message  5 of 39, 10240/76904 data bytes received
Message  6 of 39, 12288/76904 data bytes received
Message  7 of 39, 14336/76904 data bytes received
Message  8 of 39, 16384/76904 data bytes received
Message  9 of 39, 18432/76904 data bytes received
Message 10 of 39, 20480/76904 data bytes received
Message 11 of 39, 22528/76904 data bytes received
Message 12 of 39, 24576/76904 data bytes received
Message 13 of 39, 26624/76904 data bytes received
Message 14 of 39, 28672/76904 data bytes received
Message 15 of 39, 30720/76904 data bytes received
Message 16 of 39, 32768/76904 data bytes received
Message 17 of 39, 34816/76904 data bytes received
Message 18 of 39, 36864/76904 data bytes received
Message 19 of 39, 38912/76904 data bytes received
Message 20 of 39, 40960/76904 data bytes received
Message 21 of 39, 43008/76904 data bytes received
Message 22 of 39, 45056/76904 data bytes received
Message 23 of 39, 47104/76904 data bytes received
Message 24 of 39, 49152/76904 data bytes received
Message 25 of 39, 51200/76904 data bytes received
Message 26 of 39, 53248/76904 data bytes received
Message 27 of 39, 55296/76904 data bytes received
Message 28 of 39, 57344/76904 data bytes received
Message 29 of 39, 59392/76904 data bytes received
Message 30 of 39, 61440/76904 data bytes received
Message 31 of 39, 63488/76904 data bytes received
Message 32 of 39, 65536/76904 data bytes received
Message 33 of 39, 67584/76904 data bytes received
Message 34 of 39, 69632/76904 data bytes received
Message 35 of 39, 71680/76904 data bytes received
Message 36 of 39, 73728/76904 data bytes received
Message 37 of 39, 75776/76904 data bytes received
Message 38 of 39, 76904/76904 data bytes received
Message 39 of 39, end of section
Section: Registration data
Message 1 of 2, 816/816 data bytes received
Message 2 of 2, end of section
writing bytes to stdout
Done!

In [94]:
!python extractor.py documents/data/user_song_tests/12track.syx -S 1 -s 1 -n documents/data/user_song_tests/12track_{}.mid


               Recorded   Duration       Size
 User Song 1       True        367       4763
     Track A       True        139        966
     Track 1       True        367       1507
     Track 2       True         30       1947
     Track 3      False          0          0
     Track 4      False          0          0
     Track 5       True          3        329


In [95]:
5/3 * 275


Out[95]:
458.33333333333337

In [98]:
tr12 = mido.MidiFile('documents/data/user_song_tests/12track_1.mid')

In [100]:
[tr11.tracks[i] == tr12.tracks[i] for i in range(4)]


Out[100]:
[False, True, True, True]

In [109]:
[measures(tr12, x) for x in range(4)]


Out[109]:
[139, 114, 38, 4]

In [112]:
[5/3 * measures(tr11, x) for x in range(4)]


Out[112]:
[373.33333333333337, 113.33333333333334, 36.66666666666667, 3.3333333333333335]

In [111]:
bprint(30)
bprint(38)


00000000 00000000 00000000 00011110
00000000 00000000 00000000 00100110

Yeah, I don't know what's going on with the numbers.


In [108]:
trackprint(tr12.tracks[0])


0 <meta message time_signature numerator=3 denominator=4 clocks_per_click=24 notated_32nd_notes_per_beat=8 time=0>
0 <meta message set_tempo tempo=374976 time=0>
0 GM System ON
0 Reverb Type 08(Plate1)
0 Chorus Type 3(Flanger1)
0 <meta message text text=' YAMAHA ' time=0>
0 Sequencer Specific 43 76 1A 04 00 72
0 Sequencer Specific 43 76 1A 02 64
0 Sequencer Specific 43 76 1A 01 00
0 Sequencer Specific 43 76 1A 03 31 00 31 00
2868 Sequencer Specific 43 76 1A 03 23 08 23 08
2873 Sequencer Specific 43 76 1A 03 31 26 31 26
4608 Sequencer Specific 43 76 1A 03 31 27 31 27
5816 Sequencer Specific 43 76 1A 03 31 28 31 28
6919 Sequencer Specific 43 76 1A 03 31 29 31 29
8057 Sequencer Specific 43 76 1A 03 37 22 37 22
10356 Sequencer Specific 43 76 1A 03 22 13 22 13
10363 Sequencer Specific 43 76 1A 03 22 22 31 1E
12385 Sequencer Specific 43 76 1A 03 31 00 31 00
12944 Sequencer Specific 43 76 1A 03 23 22 31 1E
13542 Sequencer Specific 43 76 1A 03 31 00 31 00
14101 Sequencer Specific 43 76 1A 03 44 22 31 1E
14680 Sequencer Specific 43 76 1A 03 31 00 31 00
16421 Sequencer Specific 43 76 1A 03 22 22 35 1E
16988 Sequencer Specific 43 76 1A 03 32 13 32 13
16992 Sequencer Specific 43 76 1A 03 22 22 44 1E
17558 Sequencer Specific 43 76 1A 03 31 22 34 1E
17562 Sequencer Specific 43 76 1A 03 22 22 34 1E
17852 Sequencer Specific 43 76 1A 03 33 00 33 00
17856 Sequencer Specific 43 76 1A 03 22 22 33 1E
18151 Sequencer Specific 43 76 1A 03 31 22 23 1E
18155 Sequencer Specific 43 76 1A 03 22 22 23 1E
18424 Sequencer Specific 43 76 1A 03 31 26 32 1E
18428 Sequencer Specific 43 76 1A 03 22 22 32 1E
18708 Sequencer Specific 43 76 1A 03 22 22 22 1E
19001 Sequencer Specific 43 76 1A 03 22 22 31 1E
20145 Sequencer Specific 43 76 1A 03 37 22 37 22
22463 Sequencer Specific 43 76 1A 03 31 26 31 26
23036 Sequencer Specific 43 76 1A 03 31 2A 31 2A
23617 Sequencer Specific 43 76 1A 03 31 26 31 26
24194 Sequencer Specific 43 76 1A 03 31 2A 31 2A
24771 Sequencer Specific 43 76 1A 03 31 26 31 26
25336 Sequencer Specific 43 76 1A 03 31 26 22 1E
25914 Sequencer Specific 43 76 1A 03 22 0F 22 0F
26203 Sequencer Specific 43 76 1A 03 31 26 22 1E
26486 Sequencer Specific 43 76 1A 03 22 05 22 1E
26776 Sequencer Specific 43 76 1A 03 22 1E 22 1E
26781 Sequencer Specific 43 76 1A 03 31 26 22 1E
27059 Sequencer Specific 43 76 1A 03 23 0A 22 1E
27349 Sequencer Specific 43 76 1A 03 31 26 22 1E
27642 Sequencer Specific 43 76 1A 03 23 0A 35 1E
27935 Sequencer Specific 43 76 1A 03 31 27 35 1E
28806 Sequencer Specific 43 76 1A 03 31 28 44 1E
29948 Sequencer Specific 43 76 1A 03 31 27 44 1E
30506 Sequencer Specific 43 76 1A 03 22 0F 44 1E
30840 Sequencer Specific 43 76 1A 03 44 00 44 00
30845 Sequencer Specific 43 76 1A 03 31 26 44 1E
31187 Sequencer Specific 43 76 1A 03 31 22 44 1E
31678 Sequencer Specific 43 76 1A 03 32 16 32 16
32831 Sequencer Specific 43 76 1A 03 36 00 36 00
32835 Sequencer Specific 43 76 1A 03 36 0E 36 0E
33125 Sequencer Specific 43 76 1A 03 31 04 31 04
33343 Sequencer Specific 43 76 1A 03 32 16 32 16
33458 Sequencer Specific 43 76 1A 03 32 0D 32 0D
33700 Sequencer Specific 43 76 1A 03 33 00 33 00
33704 Sequencer Specific 43 76 1A 03 31 2A 33 1E
33803 Sequencer Specific 43 76 1A 03 32 29 23 1E
33807 Sequencer Specific 43 76 1A 03 31 2A 23 1E
33927 Sequencer Specific 43 76 1A 03 33 00 33 00
33936 Sequencer Specific 43 76 1A 03 31 2A 33 1E
34550 Sequencer Specific 43 76 1A 03 35 02 35 02
35131 Sequencer Specific 43 76 1A 03 33 26 35 1E
35700 Sequencer Specific 43 76 1A 03 23 2A 35 1E
36883 Sequencer Specific 43 76 1A 03 35 00 35 00
37429 Sequencer Specific 43 76 1A 03 35 29 35 29
38084 Sequencer Specific 43 76 1A 03 35 00 35 00
38089 Sequencer Specific 43 76 1A 03 44 22 44 22
40306 <meta message end_of_track time=2217>

In [115]:
for i, m in enumerate(m for m in tr12.tracks[0] if m.type =='sequencer_specific'):
    print("{:3d}: {:4d} | {:<14} # ".format(i, m.time, hexspace(m.data[3:])))


  0:    0 | 04 00 72       # 
  1:    0 | 02 64          # 
  2:    0 | 01 00          # 
  3:    0 | 03 31 00 31 00 # 
  4: 2868 | 03 23 08 23 08 # 
  5:    5 | 03 31 26 31 26 # 
  6: 1735 | 03 31 27 31 27 # 
  7: 1208 | 03 31 28 31 28 # 
  8: 1103 | 03 31 29 31 29 # 
  9: 1138 | 03 37 22 37 22 # 
 10: 2299 | 03 22 13 22 13 # 
 11:    7 | 03 22 22 31 1E # 
 12: 2022 | 03 31 00 31 00 # 
 13:  559 | 03 23 22 31 1E # 
 14:  598 | 03 31 00 31 00 # 
 15:  559 | 03 44 22 31 1E # 
 16:  579 | 03 31 00 31 00 # 
 17: 1741 | 03 22 22 35 1E # 
 18:  567 | 03 32 13 32 13 # 
 19:    4 | 03 22 22 44 1E # 
 20:  566 | 03 31 22 34 1E # 
 21:    4 | 03 22 22 34 1E # 
 22:  290 | 03 33 00 33 00 # 
 23:    4 | 03 22 22 33 1E # 
 24:  295 | 03 31 22 23 1E # 
 25:    4 | 03 22 22 23 1E # 
 26:  269 | 03 31 26 32 1E # 
 27:    4 | 03 22 22 32 1E # 
 28:  280 | 03 22 22 22 1E # 
 29:  293 | 03 22 22 31 1E # 
 30: 1144 | 03 37 22 37 22 # 
 31: 2318 | 03 31 26 31 26 # 
 32:  573 | 03 31 2A 31 2A # 
 33:  581 | 03 31 26 31 26 # 
 34:  577 | 03 31 2A 31 2A # 
 35:  577 | 03 31 26 31 26 # 
 36:  565 | 03 31 26 22 1E # 
 37:  578 | 03 22 0F 22 0F # 
 38:  289 | 03 31 26 22 1E # 
 39:  283 | 03 22 05 22 1E # 
 40:  290 | 03 22 1E 22 1E # 
 41:    5 | 03 31 26 22 1E # 
 42:  278 | 03 23 0A 22 1E # 
 43:  290 | 03 31 26 22 1E # 
 44:  293 | 03 23 0A 35 1E # 
 45:  293 | 03 31 27 35 1E # 
 46:  871 | 03 31 28 44 1E # 
 47: 1142 | 03 31 27 44 1E # 
 48:  558 | 03 22 0F 44 1E # 
 49:  334 | 03 44 00 44 00 # 
 50:    5 | 03 31 26 44 1E # 
 51:  342 | 03 31 22 44 1E # 
 52:  491 | 03 32 16 32 16 # 
 53: 1153 | 03 36 00 36 00 # 
 54:    4 | 03 36 0E 36 0E # 
 55:  290 | 03 31 04 31 04 # 
 56:  218 | 03 32 16 32 16 # 
 57:  115 | 03 32 0D 32 0D # 
 58:  242 | 03 33 00 33 00 # 
 59:    4 | 03 31 2A 33 1E # 
 60:   99 | 03 32 29 23 1E # 
 61:    4 | 03 31 2A 23 1E # 
 62:  120 | 03 33 00 33 00 # 
 63:    9 | 03 31 2A 33 1E # 
 64:  614 | 03 35 02 35 02 # 
 65:  581 | 03 33 26 35 1E # 
 66:  569 | 03 23 2A 35 1E # 
 67: 1183 | 03 35 00 35 00 # 
 68:  546 | 03 35 29 35 29 # 
 69:  655 | 03 35 00 35 00 # 
 70:    5 | 03 44 22 44 22 # 

Again, we look for the chords

  0:    0 | 04 00 72       # Style no.
  1:    0 | 02 64          # vol.
  2:    0 | 01 00          # Main A
  3:    0 | 03 31 00 31 00 # C
  4: 2868 | 03 23 08 23 08 # (int)
  5:    5 | 03 31 26 31 26 # C*: C + D♭ + E♭
  6: 1735 | 03 31 27 31 27 # C*: C + D♭ + F♯
  7: 1208 | 03 31 28 31 28 # C*: C + D♭ + G
  8: 1103 | 03 31 29 31 29 # C*: C + D♭ + B♭
  9: 1138 | 03 37 22 37 22 # no chord: C + D♭ + B: -> B-C-D♭ Chord 22 -> Bx
 10: 2299 | 03 22 13 22 13 # (int)
 11:    7 | 03 22 22 31 1E # C bass: C + D♭ + D + E♭ -> C + D♭-D-E♭ Chord 22 -> D♭x/C
 12: 2022 | 03 31 00 31 00 # C
 13:  559 | 03 23 22 31 1E # C bass: C + D + E♭ + E -> C + D-E♭-E Chord 22 -> Dx/C
 14:  598 | 03 31 00 31 00 # C
 15:  559 | 03 44 22 31 1E # C bass: F♯x/C
 16:  579 | 03 31 00 31 00 # C
 17: 1741 | 03 22 22 35 1E # G bass: D♭x/G
 18:  567 | 03 32 13 32 13 # (int)
 19:    4 | 03 22 22 44 1E # F♯ bass: D♭x/F♯
 20:  566 | 03 31 22 34 1E # (int)
 21:    4 | 03 22 22 34 1E # F bass: D♭x/F
 22:  290 | 03 33 00 33 00 # (int)
 23:    4 | 03 22 22 33 1E # E bass: D♭x/E
 24:  295 | 03 31 22 23 1E # (int)
 25:    4 | 03 22 22 23 1E # E♭ bass: D♭x/E♭
 26:  269 | 03 31 26 32 1E # (int)
 27:    4 | 03 22 22 32 1E # D bass: D♭x/D
 28:  280 | 03 22 22 22 1E # D♭ bass: "D♭x/D♭" ?
 29:  293 | 03 22 22 31 1E # C bass: C♭x/C
 30: 1144 | 03 37 22 37 22 # no chord: Bx
 31: 2318 | 03 31 26 31 26 # C*: C + D♭ + E♭
 32:  573 | 03 31 2A 31 2A # C*: C + D + E
 33:  581 | 03 31 26 31 26 # C*: C + D♭ + E♭
 34:  577 | 03 31 2A 31 2A # C*: C + D + E
 35:  577 | 03 31 26 31 26 # C*: C + D♭ + E♭
 36:  565 | 03 31 26 22 1E # C*/D♭: D♭ + C + (D♭?) + E♭
 37:  578 | 03 22 0F 22 0F # D♭mM7: E + C + D♭?
 38:  289 | 03 31 26 22 1E # C*/D♭
 39:  283 | 03 22 05 22 1E # D♭M7(9): E + C + D♭ + E♭?
 40:  290 | 03 22 1E 22 1E # (int) D♭1+8
 41:    5 | 03 31 26 22 1E # C*/D♭: D♭ + E♭ + C + D♭?
 42:  278 | 03 23 0A 22 1E # E♭m7/D♭: D♭ + C + D♭ + E♭ + F♯
 43:  290 | 03 31 26 22 1E # C*/D♭: D♭ + C + D♭ + E♭
 44:  293 | 03 23 0A 35 1E # E♭m7/G: G + C + D♭ + E♭ + F♯
 45:  293 | 03 31 27 35 1E # C*/G: G + C + D♭ + F♯
 46:  871 | 03 31 28 44 1E # C*/F♯: F♯ + C + D♭ + G
 47: 1142 | 03 31 27 44 1E # C*/F♯: F♯ + C + D♭ + F♯
 48:  558 | 03 22 0F 44 1E # D♭mM7/F♯: F♯ + C + D♭ + E
 49:  334 | 03 44 00 44 00 # (int) F♯
 50:    5 | 03 31 26 44 1E # C*/F♯: F♯ + C + D♭ + E♭
 51:  342 | 03 31 22 44 1E # F♯ bass: F♯ + B + C + D♭
 52:  491 | 03 32 16 32 16 # D7(9): F♯ + C + D + E
 53: 1153 | 03 36 00 36 00 # (int) A
 54:    4 | 03 36 0E 36 0E # Am7(11): A + C + D + E
 55:  290 | 03 31 04 31 04 # C(9): G + C + D + E
 56:  218 | 03 32 16 32 16 # D7(9): F♯ + C + D + E
 57:  115 | 03 32 0D 32 0D # Dm(7(9): F + C + D + E
 58:  242 | 03 33 00 33 00 # (int)
 59:    4 | 03 31 2A 33 1E # C*/E: E + C + D + E
 60:   99 | 03 32 29 23 1E # (int) E♭ + C + D
 61:    4 | 03 31 2A 23 1E # C*/E♭: E♭ + C + D + E
 62:  120 | 03 33 00 33 00 # (int) E
 63:    9 | 03 31 2A 33 1E # C*/E
 64:  614 | 03 35 02 35 02 # GM7: G + F♯ + ?
 65:  581 | 03 33 26 35 1E # E*/G: G + E + F + (G?)
 66:  569 | 03 23 2A 35 1E # E♭*/G: G + E♭ + F + (G?)
 67: 1183 | 03 35 00 35 00 # G: (G + G + B)?
 68:  546 | 03 35 29 35 29 # G*: G + F + G♯
 69:  655 | 03 35 00 35 00 # (int) G
 70:    5 | 03 44 22 44 22 # F♯x: G + F♯ + G♯

In [ ]: